Advertisement
fleft17

Untitled

Dec 28th, 2014
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. command /snowball <text>:
  2. permission: skript.snowball
  3. trigger:
  4. if arg-1 is "on" or "enable":
  5. set {Snowball} to true
  6. broadcast "[Snowball]§a Enabled!"
  7. else if arg-1 is "off" or "disable":
  8. delete {Snowball}
  9. broadcast "[Snowball]§c Disabled!"
  10. else:
  11. if {Snowball} is set:
  12. message "[Snowball] Currently§a enabled!"
  13. else:
  14. message "[Snowball] Currently§c disabled!"
  15. message "[Snowball] /snowball on/off"
  16.  
  17. on consume:
  18. {Snowball} is true
  19. event-item is golden apple
  20. message "[Snowball] You're snowballing dude!"
  21. loop (30)*20 times:
  22. shoot snowball from location 2.5 above event-player at speed 5 upwards
  23. wait 1 tick
  24. message "[Snowball] You're done snowballing!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement