Euh merci de m'avoir répondu mais je ne comprend pas je te passe le morceau de mon code si tu peu m'aider :)
if arg 1 is "setspawn":
if arg 2 is set:
if {tower.arena.%arg 2%} is true:
if arg 3 is "rouge":
set {tower.rouge.%arg 2%} to location of player
send "{@logo} &7Vous avez bien set le spawn &4Rouge"
if arg 3 is "bleu":
set {tower.bleu.%arg 2%} to location of player
send "{@logo} &7Vous avez bien set le spawn &bBleu"
On respawn:
if {tower.start.%arg 2%} is true:
if {tower.red.%player%} is true:
teleport player to {tower.rouge.%{tower.rouge.%arg 2%}%}
give 16 baked potato to the player
set slot 3 of player to none
set slot 5 of player to none
set slot 8 of player to none
dye player's helmet Red
dye player's chestplate Red
dye player's leggings Red
dye player's boots Red
stop
if {tower.bleu.%player%} is true:
teleport player to {tower.bleu.%{tower.blue.%arg 2%}%}
give 16 baked potato to the player
set slot 3 of player to none
set slot 5 of player to none
set slot 8 of player to none
dye player's helmet Blue
dye player's chestplate Blue
dye player's leggings Blue
dye player's boots Blue
stop