Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on flight toggle:
- player's gamemode is not creative:
- wait a tick
- set player's flight state to false
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.enderdragon.flap ambient @a ~ ~ ~ 1 2"
- execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~1 ~ 0.5 0.5 0.5 0.6 60 force"
- push player upwards at speed 1
- push player horizontal forwards at speed 0.8
- Every 1 tick in "world":
- loop all players:
- if loop-player is on ground:
- set loop-player's flight state to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement