Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /snowball <text>:
- permission: skript.snowball
- trigger:
- if arg-1 is "on" or "enable":
- set {Snowball} to true
- broadcast "[Snowball]§a Enabled!"
- else if arg-1 is "off" or "disable":
- delete {Snowball}
- broadcast "[Snowball]§c Disabled!"
- else:
- if {Snowball} is set:
- message "[Snowball] Currently§a enabled!"
- else:
- message "[Snowball] Currently§c disabled!"
- message "[Snowball] /snowball on/off"
- on consume:
- {Snowball} is true
- event-item is golden apple
- message "[Snowball] You're snowballing dude!"
- loop (30)*20 times:
- shoot snowball from location 2.5 above event-player at speed 5 upwards
- wait 1 tick
- message "[Snowball] You're done snowballing!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement