tr=0 Repeat playerx=EntityX(player) playery=EntityY(player) playerz=EntityZ(player) If playerx=0 And playery=0 And playerz=0 Then tr=1 If tr=1 Then MoveEntity player,0,0,2