Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P : &8[&aSnowball Flight&8]&b
- IS : &e/snowball <enable/disable/toggle>
- command /snowball [<text>]:
- permission: skript.grapple
- aliases: /snow
- trigger:
- if arg 1 is "enable":
- set {grapple} to true
- broadcast "{@P} &bSnowball Flight Enabled!"
- if arg 1 is "disable":
- set {grapple} to false
- broadcast "{@P} &bSnowball Flight Disabled!"
- if arg 1 is "toggle":
- if {grapple} is true:
- set {grapple} to false
- broadcast "{@P} &bSnowball Flight Disabled!"
- stop
- if {grapple} is false:
- set {grapple} to true
- broadcast "{@P} &bSnowball Flight Enabled!"
- stop
- #===================#
- #= Arrow Riding!!! =#
- #===================#
- on shoot:
- shooter is a player
- projectile is a snowball
- if {grapple} is true:
- make the shooter ride the projectile
- on damage:
- {grapple} is true
- damage cause is fall
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement