sora200507

Untitled

Mar 18th, 2018
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. command /grapple [<player>]:
  2. permission:sk.utility
  3. trigger:
  4. if arg 1 is set:
  5. give argument 1 fishing rod named "&6Grapple" with lore "&6SoulBound"
  6. stop
  7. else:
  8. give player 1 fishing rod named "&6Grapple" with lore "&6SoulBound"
  9. stop
  10. on fishing:
  11. name of held item contains "Grapple":
  12. if {Grapple::%player%} is not set:
  13. set {Grapple::%player%} to true
  14. stop
  15. if {Grapple::%player%} is set:
  16. clear {Grapple::%player%}
  17. push the player in front at speed 1.7
  18. execute console command "/scoreboard players remove %player% ElectricPower 10"
  19. stop
  20. on join:
  21. clear {Grapple::%player%}
  22. stop
  23. on respawn:
  24. clear {Grapple::%player%}
  25. stop
Advertisement
Add Comment
Please, Sign In to add comment