Alors normalement, je dis bien normalement xD ça devrait fonctionner, sans avoir testé j'ai ça :
if player have 1 iron ingot:
format gui slot 2 of player with 4 white stained glass named "&6x4 Bloc de construction" with lore "&7Prix : &f1 fer|| ||&a Clique pour acheter !" to run using left click:
if player have 1 iron ingot:
remove 1 iron ingot from player
give 4 white stained glass to player
make player execute command "/menurush con"
make player execute command "/menurush bloc"
format gui slot 2 of player with 4 white stained glass named "&6x4 Bloc de construction" with lore "&7Prix : &f1 fer|| ||&a Clique pour acheter !" to run using left mouse button with shift:
if player have 1 iron ingot:
remove 1 iron ingot from player
give 4 white stained glass to player
make player execute command "/menurush con"
make player execute command "/menurush bloc"
else:
format gui slot 2 of player with 4 white stained glass named "&6x4 Bloc de construction" with lore "&7Prix : &f1 fer|| ||&c Tu n'as pas assez de ressources !" to run:
make player execute command "/menurush con"
Je go manger donc possible que je ne réponde pas directement 😉