Aller au contenu
  • 0

Clic Inutile !


Question

Posté(e)

Bref bonsoir !,

 

j'ai créer un moyen d'avoir un rank pendant un certain temps mais (ce n'est pas marrant sans "mais")

dès que j'effectue la commande pour ouvrire le menu GUI

 

Bas je clique sur VIP et là il ne se passe rien :(

 

Voici mon code :

 

 

command badrank <text> <text>:
   trigger:
       if  arg 1 is "1":
           if  arg 2 is "mois":   
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP pendant 1 mois" to close then run [make player execute command "/AchatVIP mois"]
           if  arg 2 is "ans":
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP pendant 1 ans" to close then run [make player execute command "/AchatVIP ans"]
       if arg 1 is "illimiter":
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP à vie" to close then run [make player execute command "/AchatVIP illimiter"]

3 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Voila

on rightclick on sign:
   if  line 1 is "":
       if  line 2 is "&6[&2BadShop&6]":
           if  line 3 is "&6>Clique Ici<":
               send "&2&lBadShop &6> On te Souhaite un bon Shopping !"
               wait 1 tick
               make player execute command "BadShop"



command BadShop:
   trigger:
       make console execute command "/playsound note.hat %player%"
       open chest with 3 row named "               &6[&2&lBadShop&6]" to player
       wait 1 tick
       format slot 11 of player with golden helmet named "&e&lAchat de Grade 1 mois" with lore "" to close then run [make player execute command "/badrank 1 mois"]
       format slot 12 of player with iron helmet named "&e&lAchat de Grade 1 ans" with lore "" to close then run [make player execute command  "/badrank 1 ans"]
       format slot 13 of player with emerald named "&aSortir du Shop" with lore "" to close then run [make player execute command "leave"]
       format slot 14 of player with diamond helmet named "&e&lAchat de Grade à vie" with lore "" to close then run [make player execute command "badrank illimiter"]
       format slot 15 of player with bow named "&e&lAchat de Kit" with lore "" to close then run [make player execute command "badkit"]

command leave:
   trigger:
       send "&2&lBadShop &c> On te Souhaite une bonne fin de journée !"

command badrank <text> <text>:
   trigger:
       if  arg 1 is "1":
           if  arg 2 is "mois":   
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP pendant 1 mois" to close then run [make player execute command "/AchatVIP mois"]
           if  arg 2 is "ans":
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP pendant 1 ans" to close then run [make player execute command "/AchatVIP ans"]
       if arg 1 is "illimiter":
           wait 2 tick
           open chest with 1 row named "               &6[&2&lBadRank&6]" to player
           wait 1 tick
           format slot 4 of player with golden helmet named "&e&lVIP" with lore "&7Achete le Grade VIP à vie" to close then run [make player execute command "/AchatVIP illimiter"]

command AchatVIP <text>:
   trigger:
       if  arg 1 is "mois":
           make console execute command "setrank %player% VIP 1s"
           broadcast "&2&lBadAchat&6 > &e&l%player% &6Vien d'acheter le grade &e&lVIP &6pendant &c1 mois !"
       if  arg 1 is "ans":
           make console execute command "setrank %player% VIP 2s"
           broadcast "&2&lBadAchat&6 > &e&l%player% &6Vien d'acheter le grade &e&lVIP &6pendant &c1 ans"
       if  arg 1 is "illimiter":
           make console execute command "setrank %player% VIP 3s"
           broadcast "&2&lBadAchat&6 > &e&l%player% &6Vien d'acheter le grade &e&lVIP &cà vie !"

×
×
  • 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.