Guest User

Coco

a guest
May 10th, 2015
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. options:
  2.  
  3. P: <cyan>[<gray>UHC<cyan>]
  4.  
  5. command /coco <text>:
  6. permission: skript.op
  7. usage: /coco <on/off>
  8. trigger:
  9. if arg 1 is "on":
  10. set {Coco} to true
  11. broadcast "{@P} <gold>Coco Enabled"
  12. loop all players:
  13. give 10 cocoa beans to the loop-player
  14.  
  15. if arg 1 is "off":
  16. set {Coco} to false
  17. broadcast "{@P} <gold>Coco Disabled"
  18. remove speed, strength, slowness, and weakness from the player
  19.  
  20. on right click holding cocoa beans:
  21. {Coco} is true:
  22. remove speed, strength, slowness, and weakness from the player
  23. remove 1 cocoa beans from the player
  24. wait 1 tick
  25. apply speed 1 to the player for 30 seconds
  26. apply strength 1 to the player for 10 seconds
  27. wait 30 seconds
  28. apply slowness 1 to the player for 15 seconds
  29. apply weakness 1 to the player for 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment