Bonsoir/Bonjour, comme le dit le titre j'ai une erreur sur ce skript =
Je veux qu'a chaque fois qu'un joueur rentre dans le monde "ffauhc" sa ajoute un saut de lave/lava bucket dans le gui
Exemple 1 joueur dans le monde ffauhc = 1 lava bucket dans le gui
2 joueurs dans le monde ffauhc = 2 lava bucket
3 joueurs dans le monde ffauhc = 3 lava bucket
ainsi de suite ....
J'aimerais de l'aide pour résoudre ceci !
Merci d'avance pour l'effort que vous fournirez !
Erreur =
[00:31:11 ERROR]: '"/ffa-uhc"]' is not a text (ffa.sk, line 11: format slot 4 of player with {_nombre} lava bucket named "&eFFA &aBuildUHC" with lore "%{_lore:: *}%" to close then run [make player execute command "/ffa-uhc"]') [00:31:12 INFO]: [skript] Encountered 1 error while reloading ffa.sk!
script =
command /ffa:
trigger:
wait 1 tick
open chest with 1 row named "&9[FFA]" to player
format slot 2 of player with splash potion of health 2 named "&eFFA &aPotion" to close then run [make player execute command "/ffa-potion"]
set {_nombre} to 0
loop all players:
if loop-player is in world "ffauhc":
add loop-player to {_lore::*}
add 1 to {_nombre}
format slot 4 of player with {_nombre} lava bucket named "&eFFA &aBuildUHC" with lore "%{_lore::*}%" to close then run [make player execute command "/ffa-uhc"]
format slot 6 of player with bow of power 2 named "&eFFA &aOne shot bow" to close then run [make player execute command "/ffa-arc"]