Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on flight toggle:
- player's gamemode is not creative:
- if {kit.%player%} is "Acrobat":
- cancel event
- wait a tick
- set player's flight state to false
- push player upwards at speed 0.7
- push player forwards at speed 0.9
- show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
- loop 3 times:
- play "{@DoubleJumpSound}" to player at volume 0.99
- on jump:
- player's gamemode is not creative:
- if player is in world "Void":
- {DoubleJump%player's uuid%} is not set:
- block below player is not air or water:
- if {kit.%player%} is "Acrobat":
- set player's flight state to true
- on damage:
- if damage cause is fall:
- if {kit.%victim%} is "Acrobat":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment