Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: <cyan>[<gray>UHC<cyan>]
- command /coco <text>:
- permission: skript.op
- usage: /coco <on/off>
- trigger:
- if arg 1 is "on":
- set {Coco} to true
- broadcast "{@P} <gold>Coco Enabled"
- loop all players:
- give 10 cocoa beans to the loop-player
- if arg 1 is "off":
- set {Coco} to false
- broadcast "{@P} <gold>Coco Disabled"
- remove speed, strength, slowness, and weakness from the player
- on right click holding cocoa beans:
- {Coco} is true:
- remove speed, strength, slowness, and weakness from the player
- remove 1 cocoa beans from the player
- wait 1 tick
- apply speed 1 to the player for 30 seconds
- apply strength 1 to the player for 10 seconds
- wait 30 seconds
- apply slowness 1 to the player for 15 seconds
- apply weakness 1 to the player for 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment