UDON_JP

Untitled

May 6th, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. on any move:
  2. if {move.%player%} is true:
  3. set {move.%player%} to false
  4. command "/execute %player% ~ ~ ~ /setblock ~ ~ ~ air"
  5. delete {second.%player%}
  6. command "/gamemode 2 %player%"
  7. else:
  8. set {move.%player%} to true
  9. delete {second.%player%}
  10.  
  11. every 1 second:
  12. loop all players
  13. if {move.%player%} is true:
  14. stop
  15. else:
  16. add 1 to {second.%player%}
  17. if {second.%player%} >= 5:
  18. set {_b} to location of player
  19. block at {_b} is air
  20. command "/execute %player% ~ ~ ~ /setblock ~ ~ ~ %{hidesetblock.%player%}%"
  21. command "/gamemode 3 %player%"
Add Comment
Please, Sign In to add comment