Bonjour j ai besoin d aide car j ai un gros probléme avec mon buykits
options:
titremenu: &eBuy&eKits
kit1: diamant
prixkit1: 10000
itemkit1: diamond
command /buytest:
trigger:
set {_prix} to 5000
if {money.%player%} is less than {_prix}:
send "&cTu n'as pas assez d'argents"
else:
remove {_p} from {money.%player%}
broadcast "&6[&3Key&6]&a%player% viens d'acheter une KEY"
execute console command "/manuaddp %player% essentials.kits.Minerais"
if {key.crate} is true:
message "Tu as déjà se kit"
command /money:
trigger:
if {money.%player%} is not set:
set {money.%player%} to 0
else:
send "&7Tu as &2%{money.%player%}%$"
command /moneygive <player> <int>:
trigger:
add argument 2 to {money.%arg 1%}
send "&7Tu as recus &2%arg 2%$" to arg 1
command /pay <player> <int>:
aliases: mpay, moneypay
trigger:
if {money.%player%} is less than arg 2:
send "&cSomme d'argent insuffisante."
else:
remove arg 2 from {money.%player%}
add arg 2 to {money.%arg 1%}
send "&7Tu as envoyé &2%arg 2%$ &7à &2%arg 1%"
send "&7Tu as recus &2%arg 2%$ &7de &2%player%" to arg 1
options:
slot 0: slot 0 of player with tnt named "&cCreeper" with lore "&eEn achetant ce kit tes pillages seront bien plus &cez&e." to run [make console execute command "/manuaddp %player% essentials.kits.creeper /pay Rephax_YT 555"]
slot 1: slot 1 of player with 382 named "&eDruide" with lore "&eEn achetant ce kit deviens un vrais &cDruide&e." to run [make console execute command "/manuaddp %player% essentials.kits.Druide"]
slot 2: slot 2 of player with diamond chestplate named "&bDiamant" with lore "&eEn achetant ce kit deviens un vrais &cCombatant&e." to run [make console execute command "/manuaddp %player% essentials.kits.Diamant"]
slot 3: slot 3 of player with ender pearl named "&aExplorateur" with lore "&eEn achetant ce kit deviens un vrais &cExplorateur&e." to run [make console execute command "/manuaddp %player% essentials.kits.explorateur"]
slot 4: slot 4 of player with Stone Bricks named "&eBuilder" with lore "&eEn achetant ce kit devient Buildeur." to run [make console execute command "/manuaddp %player% essentials.kits.Builder"]
slot 5: slot 5 of player with bottle of Enchanting named "&eEnchanteur" with lore "&eEn achetant ce kit devient &4MERLIN." to run [make console execute command "/manuaddp %player% essentials.kits.enchanteur"]
command /HerosKit:
trigger:
open chest with 1 row named "&8&nHerosKit &8(%{money.%player%}%$)" to player
wait 1 tick
format {@slot 0}
format {@slot 1}
format {@slot 2}
format {@slot 3}
format {@slot 4}
format {@slot 5}
voila ses mais option mais comme vous voyer la en dessous
ot 4: slot 4 of player with Stone Bricks named "&eBuilder" with lore "&eEn achetant ce kit devient Buildeur." to run [make console execute command "/manuaddp %player% essentials.kits.Builder"]
sa marche j ai changer un peut et quand il achéte sa marche mais sa lui enléve pas l argent et sa le marque pas dans le tchat j'en ai mart sa fait 2 jours que je cherche aider moi la svp je veut que quand il clique sa le marche dans le tchat quand il achéte le kit et que sa lui enléve les 10000$ aider moi svp !