Advertisement
doru90

Untitled

Nov 18th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #壁走り
  2. Every tick in "world":
  3. loop all players:
  4. loop-player is sneaking
  5. add 1 to {_a} if block 0.80 meter horizontally to the left of the loop-player isn't air
  6. add 1 to {_a} if block 0.80 meter horizontally to the right of the loop-player isn't air
  7. add 1 to {_a} if block at location 1 meter above and 0.80 meter horizontally to the left of the loop-player isn't air
  8. add 1 to {_a} if block at location 1 meter above and 0.80 meter horizontally to the right of the loop-player isn't air
  9. if {_a} is more than or equal to 1:
  10. push loop-player horizontal forwards at speed 0.2
  11. push loop-player upwards at speed 0.1
  12. set loop-player's flight state to true
  13. execute console command "/execute %loop-player% ~ ~ ~ playsound minecraft:entity.enderdragon.flap ambient @a ~ ~ ~ 1 2"
  14.  
  15. #壁キック
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement