Aller au contenu

Demande de Skript #3 | Un GUI (Encore) :)


Messages recommandés

Posté(e)

Bonjour a tous

 

J'aimerais un GUI qui lorsque le joueur exécute une commande (Je la mettrais moi même).

 

Voici ce GUI. (je choisirais le nom plus tard)

 

Le Vitre Noir = Pas de nom

 

Les colorants, je choisirais leur noms donc en attendant mettez : Nom

Ainsi que le petit texte qu'il y a quand on passe notre curseur sur l'item (je me rappelle plus du nom).

Je choisirais le texte plus tard :)

J'aimerais que ces colorants exécute une commande que je choisirais plus tard donc vous mettez /TaCommande (a chaque colorants svp)

 

Je remercie ceux qui seront le faire :)

Bonne journée

Posté(e)

aliases:
   lime dye = 351:10



command /menugui:
   trigger:
       set {_slot} to 0
       open chest with 6 rows named "Menu" to player
       loop 54 times:
           format slot {_slot} of player with 1 black stained glass pane to be unstealable
           add 1 to {_slot}
       format slot 4 of player with 1 gray dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]
       format slot 10 of player with 1 pink dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]
       format slot 16 of player with 1 light blue dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]
       format slot 31 of player with 1 lime dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]
       format slot 38 of player with 1 magenta dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]
       format slot 42 of player with 1 purple dye named "Nom" with lore "Description" to close then run [make player execute command "/tacommande"]

 

Voilà :p

N'oublies pas de refaire les espaces à chaque ligne

si tu copies/colles

  • J'aime 1
Posté(e)
alaises:
   grise = 351:8
   rose = 351:9
   bleu = 351:12
   vert = 351::10
   magenta = 351:13
   violet = 351:5
   vitre-noire = 160:15


commande /menu2:
   trigger:
       open chest with 6 rows named "NOM" to player
       wait 1 tick
       format slot 0 of player with vitre-noire named " " to be unstealable 
       #fait pareil pour les autre slot sachant que le slot 0 et la premiere case en haut à gauche



       formnat slot 5 of player with grise named "NOM" to run [make player execute command "/commande"]
       formnat slot 10 of player with rose named "NOM" to run [make player execute command "/commande"]
       formnat slot 16 of player with bleu named "NOM" to run [make player execute command "/commande"]
       formnat slot 30 of player with vert named "NOM" to run [make player execute command "/commande"]
       formnat slot 38 of player with magenta named "NOM" to run [make player execute command "/commande"]
       formnat slot 42 of player with violet named "NOM" to run [make player execute command "/commande"]

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.