GUI

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

SpiderDev

New Member
Jan 27, 2017
7
0
0
32
Hey, I want a gui of kits, and inside in the gui, it says if the player has permission to choose this kit, or not.

like Archer (Locked) Warrior (Unlocked) Enderman (Locked) Blaze (Locked)
 
Hey, I want a gui of kits, and inside in the gui, it says if the player has permission to choose this kit, or not.

like Archer (Locked) Warrior (Unlocked) Enderman (Locked) Blaze (Locked)
Please make a new post and post it into REQUEST! and use the Template. Thanks!
 
code_language.skript:
command /kit [<text>]:
    trigger:
        open chest with 1 row to player
        wait 1 tick
        if player does not have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&c&lNo Permission" to close
        if player has have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&a&lClick to redeem" to close
[doublepost=1497648239,1497648203][/doublepost]
code_language.skript:
command /kit [<text>]:
    trigger:
        open chest with 1 row to player
        wait 1 tick
        if player does not have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&c&lNo Permission" to close
        if player has have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&a&lClick to redeem" to close
Just a quick example. You should be able to learn from it.
 
code_language.skript:
command /kit [<text>]:
    trigger:
        open chest with 1 row to player
        wait 1 tick
        if player does not have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&c&lNo Permission" to close
        if player has have the permission "kit.archer":
            format slot 0 of player with bow named "&aArcher Kit" with lore "&a&lClick to redeem" to close
[doublepost=1497648239,1497648203][/doublepost]
Just a quick example. You should be able to learn from it.
Don't use format slot. Use SET SLOT!
 
Status
Not open for further replies.