1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Coloured Leather Armour In Chest GUIS

Discussion in 'Skript' started by IsGeorgeCurious, Feb 26, 2017.

Thread Status:
Not open for further replies.
  1. I

    Joined:
    Feb 17, 2017
    Messages:
    8
    Likes Received:
    0
    Hi,
    Recently I have been trying to make a chest GUI with coloured leather armour. I have played around with lots of different codes but I can't seem to find what code works!
    Code:

    Code (Skript):
    1. on right click:
    2.     if player is holding a compass:
    3.         if name of player's tool is "&bChoose &a&lClass":
    4.             open chest with 1 row named "&8Pick your class" to player
    5.             wait 2 ticks
    6.             format slot 0 of player with green leather helmet named "&aArcher" to be unstealable
    I have tried green leather armour, leather armour green, ect and I can't find a solution!

    If anyone could help me with this it would be greatly appreciated.

    - George
     
  2. Best Answer:
    Post #2 by ShaneBee, Feb 27, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    You can do this by adding "colored %color%" after your item.

    Here is an example:
    Code (Skript):
    1.  
    2. command /gui:
    3.     trigger:
    4.         open chest with 1 row named "&8Pick your class" to player
    5.         wait 2 ticks
    6.         format slot 0 of player with leather helmet colored light green named "&aArcher" to be unstealable
    7.  
     
    • Useful Useful x 1
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    Ahh! Thank you for the help!
     
    • Useful Useful x 1
Thread Status:
Not open for further replies.
Loading...