kazuken0814

Untitled

Jun 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. on flight toggle:
  2. player's gamemode is not creative:
  3. if {kit.%player%} is "Acrobat":
  4. cancel event
  5. wait a tick
  6. set player's flight state to false
  7. push player upwards at speed 0.7
  8. push player forwards at speed 0.9
  9. show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
  10. loop 3 times:
  11. play "{@DoubleJumpSound}" to player at volume 0.99
  12. on jump:
  13. player's gamemode is not creative:
  14. if player is in world "Void":
  15. {DoubleJump%player's uuid%} is not set:
  16. block below player is not air or water:
  17. if {kit.%player%} is "Acrobat":
  18. set player's flight state to true
  19.  
  20. on damage:
  21. if damage cause is fall:
  22. if {kit.%victim%} is "Acrobat":
  23. cancel event
Advertisement
Add Comment
Please, Sign In to add comment