Guest User

Craftusk zle

a guest
May 21st, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. variables:
  2. {efekt.%player%} = 1
  3.  
  4. on skript load:
  5. register new shaped recipe for cookie named "&6CraftTusk" using wheat, wheat, wheat, wheat, sugar, wheat, wheat, wheat, wheat
  6.  
  7. on eat cookie:
  8. if name of player's tool is "&6CraftTusk":
  9. set {czas} to difference between {czasek.%player%} and now
  10. if {czas} is less than 5 minutes:
  11. send "&5CraftTusk mozesz jesc co 5 minut!"
  12. else:
  13. set {efekt.%player%} to a random integer 1 and 3
  14. if {efekt.%player%} is 1:
  15. apply slowness to player for 2 minutes
  16. set {czasek.%player%} to now
  17. if {efekt.%player%} is 2:
  18. apply strength to player for 2 minutes
  19. set {czasek.%player%} to now
  20. if {efekt.%player%} is 3:
  21. apply speed to player for 2 minutes
  22. set {czasek.%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment