takenooto

Untitled

Jun 7th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. on sneak toggle:
  2.   if {fall.%player%} is not set:
  3.     set {fall.%player%} to 0
  4.   {fall.%player%} is 0
  5.   player has feather of Feather Falling
  6.   block below location of player is air
  7.   push player upwards at speed 0.5
  8.   push player horizontally forwards at speed 0.7
  9.   set {fall.%player%} to 1
  10.   while block below location of player is air:
  11.     wait 3 ticks
  12.   set {fall.%player%} to 0
  13.  
  14. on damage:
  15.   victim has feather of Feather Falling
  16.   damage was caused by fall
  17.   cancel event
Add Comment
Please, Sign In to add comment