Yo, pour te répondre, déjà il faudrait faire des commandes pour set tes checkpoints, donc il faut aller sur ton serveur, voici les commandes:
Plusieurs commandes pour set tes checkpoints:
command /setcheckpoint1:
permission: op
trigger:
set {checkpoint1} to location of player
stop
command /setcheckpoint2:
permission: op
trigger:
set {checkpoint} to location of player
stop
command /setcheckpoint3:
permission: op
trigger:
set {checkpoint3} to location of player
stop
Etc...
Ensuite, si j'ai bien compris, tu voudrais que quand un joueur s'éloigne de 20 blocks du checkpoint ? Je n'ai pas compris ceci, donc je vais te faire autre chose qui est aussi utile:
on right click on slime_ball
if {jump.%player%} is true:
if {tpcheckpoint1} is true:
teleport player to {checkpoint1}
if {tpcheckpoint2} is true:
teleport player to {checkpoint2}
if {tpcheckpoint3} is true:
teleport player to {checkpoint3}
on walk on gold_block:
if {jump.%player%} is true:
if {tpcheckpoint1} and {tpcheckpoint2} and {tpcheckpoint3} is false:
set {tpcheckpoint1} to true:
if {tpcheckpoint2} and {tpcheckpoint3} is false:
if {tpcheckpoint1} is true:
set {tpcheckpoint1} to false
set {tpcheckpoint2} to true
if {tpcheckpoint1} and {tpcheckpoint3} is false:
if {tpcheckpoint2} is true:
set {tpcheckpoint2} to false
set {tpcheckpoint3} to true
Voila et après, tu peux faire un truc du genre:
merde... je viens de penser que je pouvais faire un truc beaucoup plus simple... pas grave.
on walk on 166:
if {jump.%player%} is true:
if {tpcheckpoint1} is true:
teleport player to {checkpoint1}
if {tpcheckpoint2} is true:
teleport player to {checkpoint2}
if {tpcheckpoint3} is true:
teleport player to {checkpoint3}
et voilà, la fin que tu as cité, je n'ai pas besoin de le faire, vu que tu sais déjà comment faire, tu as dit dans ton message ce que tu voulais avec les commandes skript a faire, tu as juste la flemme.