Aller au contenu

Messages recommandés

Posté(e)

Bonjour,

j'aimerai avoir un skript quand, lorsque on clique sur un name tag un gui s'ouvre avec les couleurs à l'intérieurs et que lorsque on clique sur une de ses couleurs notre pseudo dans le chat prend cette couleur :)

Je voudrais comme couleur: le noir,le bleu,le vert,le rouge clair.

Merci,

Posté(e)

Voila ce que tu voulais :

 

Je vais mettre un second poste avec toute les couleurs.

 

on rightclick with name tag:
   make player execute command "/name"

command /name <text="open">:
   trigger:
       if arg 1 is "open":
           open chest with 1 rows named "&cCouleur du pseudo" to player
           wait 1 tick
           format slot 0 of player with blue wool named "&1Bleu" to close then run [make player execute command "/name &1"]
           format slot 1 of player with black wool named "&0Noir" to close then run [make player execute command "/name &0"]
           format slot 2 of player with green wool named "&2Vert" to close then run [make player execute command "/name &2"]
           format slot 3 of player with red wool named "&cRouge" to close then run [make player execute command "/name &c"]
       else:
           set the player's display name to "%arg 1%%player%"
           message "&aVotre nom est maintenant : %arg 1%%player%"


Posté(e)

Donc voila une version avec toute les couleurs

 

on rightclick with name tag:
   make player execute command "/name"

command /name <text="open">:
   trigger:
       if arg 1 is "open":
           open chest with 4 rows named "&cCouleur du pseudo" to player
           wait 1 tick
           format slot 1 of player with blue wool named "&1Bleu" to close then run [make player execute command "/name &1"]
           format slot 10 of player with light blue dye named "&9Bleu clair" to close then run [make player execute command "/name &9"]
           format slot 19 of player with cyan wool named "&3Cyan" to close then run [make player execute command "/name &3"]
           format slot 28 of player with light blue wool named "&bBleu ciel" to close then run [make player execute command "/name &b"]
           format slot 2 of player with orange wool named "&6Orange" to close then run [make player execute command "/name &6"]
           format slot 11 of player with yellow wool named "&eYellow" to close then run [make player execute command "/name &e"]
           format slot 3 of player with green wool named "&2Vert" to close then run [make player execute command "/name &2"]
           format slot 12 of player with light green wool named "&aVert clair" to close then run [make player execute command "/name &a"]
           format slot 4 of player with red wool named "&4Rouge" to close then run [make player execute command "/name &4"]
           format slot 13 of player with rose red named "&cRouge clair" to close then run [make player execute command "/name &c"]
           format slot 5 of player with black wool named "&0Black" to close then run [make player execute command "/name &0"]
           format slot 14 of player with gray wool named "&8Gris" to close then run [make player execute command "/name &8"]
           format slot 23 of player with light gray wool named "&7Gris clair" to close then run [make player execute command "/name &7"]
           format slot 32 of player with white wool named "&fBlanc" to close then run [make player execute command "/name &f"]
           format slot 6 of player with purple wool named "&5Violet" to close then run [make player execute command "/name &5"]
           format slot 15 of player with magenta wool named "&dMagenta" to close then run [make player execute command "/name &d"]
           format slot 8 of player with barrier named "&4Quitter le menu" to close
       else:
           set the player's display name to "%arg 1%%player%"
           message "&aVotre nom est maintenant : %arg 1%%player%"

  • J'aime 1
×
×
  • 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.