on npc right click:
if player's tool is not a stick:
if citizen is named "NOM DE TON NPC":
send "&6Bonjour %player%, &3voulez-vous acheter un Kébab pour seulement 5$ ?" to player
open chest with 3 rows named "&3Vendeur de Kébab" to player
wait 2 ticks
format slot 11 of player with cooked mutton named "&cOui" with lore "&3Prix:&e5$" to close then run [execute player command "〆Kebab Oui"]
format slot 15 of player with cooked mutton named "&cNon" with lore "&c&oQuitté le menu" to close then run [execute player command "〆Kebab Non"]
command /〆Kebab <text>:
trigger:
if arg 1 is "Oui":
give 1 cooked mutton named "&dKébab" to player
send "&dMerci à vous, voila votre Kebab !!!"
remove 5 from player's balance
stop
if arg 1 is "Non":
send "&dDommage, Bonne journée à vous"
stop