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 community!
Now, what are you waiting for? Join the community now!
is this gonne work
vb
command /ranks:
trigger:
set metadata tag "ranks" of player to a new chest inventory with 3 rows named "&8Ranks"
set {_n} to 0
loop 10 times:
set slot {_n} of metadata tag "ranks" of player to gray stained glass pane named ""
add 1 to {_n}
set {_n} to 17
loop 10 times:
set slot {_n} of metadata tag "ranks" of player to gray stained glass pane named ""
add 1 to {_n}
set {_vip_helmet} to leather helmet with all flags hidden
set slot 11 of metadata tag "ranks" of player to {_vip_helmet} named "<##FFF300>&lVIP RANK"
set {_booster_helmet} to iron helmet with all flags hidden
set slot 12 of metadata tag "ranks" of player to {_booster_helmet} named "<##B900FF>&lBOOSTER RANK"
set {_god_helmet} to gold helmet with all flags hidden
set slot 13 of metadata tag "ranks" of player to {_god_helmet} named "<##FF9200>&lGOD RANK"
set {_chub_helmet} to diamond helmet with all flags hidden
set slot 14 of metadata tag "ranks" of player to {_chub_helmet} named "<##FF0000>&lCHUB RANK"
set {_media_helmet} to netherite helmet with all flags hidden
set slot 15 of metadata tag "ranks" of player to {_media_helmet} named "<##FF00E8>&lMEDIA RANK" with all flags hidden
set slot 10 of metadata tag "ranks" of player to chest named "<##06ff00>&lKEYS" with lore "&fClick to go to the <##06ff00>&lKEYS"
set slot 16 of metadata tag "ranks" of player to paper named "<##008DFF>&lWEBSTORE" with lore "&fClick to go to the <##008DFF>&lWEBSTORE"
open (metadata tag "ranks" of player) to player
on inventory click:
event-inventory is metadata tag "ranks" of player
cancel event
set {_e} to index of clicked slot
if {_e} is 10:
make player execute command "/keys"
if {_e} is 16:
close player's inventory
send formatted "<##008DFF>&l⬇ WEBSTORE ⬇%nl%&l"