Advertisement
Guest User

Snowball Flight Skript

a guest
May 6th, 2015
1,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. P : &8[&aSnowball Flight&8]&b
  3. IS : &e/snowball <enable/disable/toggle>
  4.  
  5. command /snowball [<text>]:
  6. permission: skript.grapple
  7. aliases: /snow
  8. trigger:
  9. if arg 1 is "enable":
  10. set {grapple} to true
  11. broadcast "{@P} &bSnowball Flight Enabled!"
  12. if arg 1 is "disable":
  13. set {grapple} to false
  14. broadcast "{@P} &bSnowball Flight Disabled!"
  15. if arg 1 is "toggle":
  16. if {grapple} is true:
  17. set {grapple} to false
  18. broadcast "{@P} &bSnowball Flight Disabled!"
  19. stop
  20. if {grapple} is false:
  21. set {grapple} to true
  22. broadcast "{@P} &bSnowball Flight Enabled!"
  23. stop
  24. #===================#
  25. #= Arrow Riding!!! =#
  26. #===================#
  27. on shoot:
  28. shooter is a player
  29. projectile is a snowball
  30. if {grapple} is true:
  31. make the shooter ride the projectile
  32. on damage:
  33. {grapple} is true
  34. damage cause is fall
  35. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement