Advertisement
TheUranium

Untitled

Jul 30th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. command /brinquedo:
  2. description: &e&lKit Brinquedo!!
  3. usage: &e&lUse /brinquedo
  4. permission: thekits.brinquedo
  5. permission message: &c&lVocê não tem permissão para usar este kit!
  6. trigger:
  7. if {brinquedo.%player%} is not set:
  8. give player a diamond sword named "&1&lBrinquedo &d&lSword"
  9. give player a wooden hoe named "&1&lRoça &d&lRoça"
  10. give player 34 mushroom stew named "&1&lSopa Do &d&lBrinquedo"
  11. set helmet of the player to a iron helmet
  12. set chestplate of the player to a iron chestplate
  13. set leggings of the player to a iron leggings
  14. set boots of the player to a iron boots
  15. set {brinquedo.%player%} to true
  16.  
  17. on death:
  18. if {brinquedo.%victim%} is set:
  19. clear {brinquedo.%victim%}
  20.  
  21.  
  22. on rightclick on a player holding a wooden hoe:
  23. if {brinquedo.%player%} is true:
  24. name of player's tool is "&6Roça Roça":
  25. set {_espera} to difference between {Brinquedo.Delay::%player%} and now
  26. if {_espera} is less than 30 seconds:
  27. send "&cVoce deve esperar %difference between {_espera} and 30 seconds%"
  28. stop
  29. apply potion of nausea of tier 1 to clicked player for 10 seconds
  30. apply potion of hunger of tier 1 to clicked player for 6 seconds
  31. set {Brinquedo.Delay::%player%} to now
  32. else:
  33. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement