command /spawn: trigger: if {tp::%player%} is not set: set {tp::%player%} to true set {_x} to rounded x-coordiante of player set {_y} to rounded y-coordiante of player set {_z} to rounded z-coordiante of player loop 10 times: wait 0.5 second if {_x} is not rounded x-coordiante of player: send "&cDU*A" stop if {_y} is not rounded y-coordiante of player: send "&cDU*A" stop if {_z} is not rounded z-coordiante of player: send "&cDU*A" stop teleport player to {spawn}