Le code d'@EvanMartiin est bien trop sensible, si le joueur bouge la tête ça annulera le tp. Et puis il enregistre des variables et il utilise un évent qui s'active TRÈS souvent et donc fera lag un peu plus. Sur mon serveur j'utilise ce code (je l'ai juste adapté à toi.
command /spawn:
trigger:
player is in world "{@map}"
send "{@logo2} &7Merci d'attendre 4 secondes sans bouger!" to player
set {_lx} to x-location of player's location
set {_ly} to y-location of player's location
set {_lz} to z-location of player's location
wait 1 second
{_lx} is not x-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_ly} is not y-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_lz} is not z-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
send "{@logo2} &7Téléportation dans 3 secondes..." to player
wait 1 second
{_lx} is not x-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_ly} is not y-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_lz} is not z-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
send "{@logo2} &7Téléportation dans 2 secondes..." to player
wait 1 second
{_lx} is not x-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_ly} is not y-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_lz} is not z-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
send "{@logo2} &7Téléportation dans 1 seconde..." to player
wait 1 second
{_lx} is not x-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_ly} is not y-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
{_lz} is not z-location of player's location:
send "{@logo2} &cVous avez bougé!" to player
stop
make console execute command "/mv tp %player% colise"