I've been working on this for 2-3 hours trying to fix it, I'm trying to make a fast biulder type bridging game.
Code:
command /fastbuilder:
trigger:
execute console command "warp fastbiulder %player%"
wait 1 tick
execute console command "ci %player%"
Wait 3 ticks
Give player 192 sandstone
set {Seconds.%player%} to 0
loop 60 times:
wait 1 second
add 1 to {Seconds.%player%}
execute console command "warp hub %player%"
send "&eYou are taking too long and have been sent to the &e&lHub"
On any move:
if block below the block below the player is 95:3:
execute console command "warp hub %player%"
send "&eYou have hit the ground and have been sent to the &e&lHub"
stop
On any move:
if block below the block below the player is 19:1:
set all sandstone in radius 50 to air
execute console command "warp hub %player%"
send "&eYou have completed the course in {Seconds.%player%} and have been sent to the &e&lHub"
stop