Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on any move:
- if {move.%player%} is true:
- set {move.%player%} to false
- command "/execute %player% ~ ~ ~ /setblock ~ ~ ~ air"
- delete {second.%player%}
- command "/gamemode 2 %player%"
- else:
- set {move.%player%} to true
- delete {second.%player%}
- every 1 second:
- loop all players
- if {move.%player%} is true:
- stop
- else:
- add 1 to {second.%player%}
- if {second.%player%} >= 5:
- set {_b} to location of player
- block at {_b} is air
- command "/execute %player% ~ ~ ~ /setblock ~ ~ ~ %{hidesetblock.%player%}%"
- command "/gamemode 3 %player%"
Add Comment
Please, Sign In to add comment