Nelyll ton code ne fonctionne pas et tu n'as pas mis ton code entre balise.
[spoiler=Le code (testé)]
options:
on right click with name tag:
if name of player's tool is "&6Liste des joueurs":
open chest with 6 rows named "&8» &6Liste des joueurs" to player
wait 3 ticks
set {_s} to 0
loop all players:
wait 2 tick
format slot {_s} of player with loop-player's skull named "&a%loop-player%" with lore "||&7Location: &b%loop-player's location%" to be unstealable
add 1 to {_s}
command /t:
trigger:
set slot 0 of player to 421 named "&6Liste des joueurs"