Advertisement
kame1894

Untitled

Oct 20th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. on jump:
  2.     if the player's gamemode is not creative:
  3.         allow fly for the player
  4.         wait 0.5 second
  5.         if the player is flying:
  6.             disallow fly for the player
  7.     if the player's gamemode is creative:
  8.         stop
  9.  
  10. on flight toggle:
  11.     if the player's gamemode is not creative:
  12.         push player upwards at speed 2.2
  13.         push the player forward at speed 1.8
  14.         disallow fly for the player
  15.         wait 1 tick
  16.         play raw sound "mob.ghast.fireball" at player with pitch 1 volume 10
  17.     if the player's gamemode is creative:
  18.         stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement