So i made this, it works and all but when im on the menu i want the item that is selected to be glowing, and the make the other glowing (if there is) to stop.
Please help me
Please help me
Code:
variables:
{chatcolor.%player%} = "&f"
on chat:
set the chat format to "%player% &8>> %{chatcolor.%player%}% %message%"
command /chatcolor:
trigger:
open virtual chest inventory with size 6 named "&c&lC&6&lo&e&ll&a&lo&b&lr&d&ls" to player
format gui slot 10 of player with white stained glass named "&f&lWhite" to run:
set {chatcolor.%player%} to "&f"
format gui slot 19 of player with Yellow stained glass named "&e&lYellow" to run:
set {chatcolor.%player%} to "&e"
format gui slot 28 of player with Magenta stained glass named "&d&lMagenta" to run:
set {chatcolor.%player%} to "&d"
format gui slot 37 of player with pink stained glass named "&c&lLight Red" to run:
set {chatcolor.%player%} to "&c"
format gui slot 11 of player with light blue stained glass named "&b&lCyan" to run:
set {chatcolor.%player%} to "&b"
format gui slot 20 of player with lime stained glass named "&a&lLight Green" to run:
set {chatcolor.%player%} to "&a"
format gui slot 29 of player with Light blue stained glass named "&9&lLight Blue" to run:
set {chatcolor.%player%} to "&9"
format gui slot 38 of player with gray stained glass named "&8&lGrey" to run:
set {chatcolor.%player%} to "&8"
format gui slot 12 of player with Light gray stained glass named "&7&lLight Grey" to run:
set {chatcolor.%player%} to "&7"
format gui slot 21 of player with orange stained glass named "&7&lOrange" to run:
set {chatcolor.%player%} to "&6"
format gui slot 30 of player with purple stained glass named "&7&lPurple" to run:
set {chatcolor.%player%} to "&5"
format gui slot 39 of player with Red stained glass named "&7&lRed" to run:
set {chatcolor.%player%} to "&4"
format gui slot 13 of player with Cyan stained glass named "&3&lCyan" to run:
set {chatcolor.%player%} to "&3"
format gui slot 22 of player with Green stained glass named "&2&lGreen" to run:
set {chatcolor.%player%} to "&2"
format gui slot 31 of player with Blue stained glass named "&1&lBlue" to run:
set {chatcolor.%player%} to "&1"
format gui slot 40 of player with Black stained glass named "&0&lBlack" to run:
set {chatcolor.%player%} to "&0"