Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {grapple.name} = "&bGrappling Hook" #The name it gives the grapple on spawn
- {use.permissions} = "true" #Whether it uses the permissions
- on place of tripwire hook:
- player is holding tripwire hook named "%{grapple.name}%":
- cancel event
- on drop of tripwire hook:
- cancel event
- on click:
- if player is holding tripwire hook:
- if {use.permissions} is "false":
- if {grapple.%player%.used} is "false":
- if distance between player and targeted block is smaller than 35:
- make the player shoot an snowball
- set {grapple.%player%.used} to "true"
- if {use.permissions} is "true":
- if {grapple.%player%.used} is "false":
- if player has permission "batman.use":
- if distance between player and targeted block is smaller than 35:
- make the player shoot an snowball
- set {grapple.%player%.used} to "true"
- on projectile hit:
- if {grapple.%shooter%.used} is "true":
- if projectile is an snowball:
- if shooter is holding tripwire hook:
- push the shooter forwards at speed 5
- wait 3 second
- set {grapple.%shooter%.used} to "false"
- delete projectile
Add Comment
Please, Sign In to add comment