Advertisement
jikaku

Untitled

Jan 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. on flight toggle:
  2. player's gamemode is not creative:
  3. cancel event
  4. wait a tick
  5. set player's flight state to false
  6. push player upwards at speed 0.8
  7. push player forwards at speed 0.8
  8. show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
  9. loop 3 times:
  10. play "{@DoubleJumpSound}" to player at volume 0.99
  11. on jump:
  12. player's gamemode is not creative:
  13. player has permission "{@DoubleJumpPerm}":
  14. {DoubleJump%player's uuid%} is not set:
  15. block below player is not air or water:
  16. set player's flight state to true
  17. on damage:
  18. damage cause is fall:
  19. {DoubleJump%victim's uuid%} is not set:
  20. cancel event
  21. command /doublejump <text=help>:
  22. aliases: dj
  23. permission: {@DoubleJumpCmdPerm}
  24. permission message: {@PermMsg}
  25. trigger:
  26. if arg-1 is "help":
  27. send "&b&m | | "
  28. send "&3 /dj true &7- &3DoubleJump Enable"
  29. send "&3 /dj false &7- &3DoubleJump Disable"
  30. send "&3 /dj help &7- &3View DoubleJump Help"
  31. send "&b&m | | "
  32. stop
  33.  
  34. if arg-1 is "false":
  35. {DoubleJump%player's uuid%} is not set:
  36. set {DoubleJump%player's uuid%} to 1
  37. send "{@Prefix} &3DoubleJump is disabled"
  38. stop
  39. if arg-1 is "true":
  40. {DoubleJump%player's uuid%} is set:
  41. delete {DoubleJump%player's uuid%}
  42. send "{@Prefix} &3DoubleJump is enabled"
  43. stop
  44.  
  45. else:
  46. send "&b&m | | "
  47. send "&3 /dj true &7- &3DoubleJump Enable"
  48. send "&3 /dj false &7- &3DoubleJump Disable"
  49. send "&3 /dj help &7- &3View DoubleJump Help"
  50. send "&b&m |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement