There is no problems with the skript, i'm just curious, is there a way you can do this faster?
CODE:
CODE:
code_language.skript:
command /title:
aliases: /tags
trigger:
open chest with 6 rows named "&e&lTitles" to player
wait 3 ticks
player has permission "kek.sk":
player has permission "mman.sk":
player has permission "L.sk":
format slot 11 of player with light green glass named "&6KEK" to close then run [ execute player command "/tagplayer kek"]
format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
else:
player has permission "mman.sk":
player has permission "L.sk":
format slot 11 of player with red stained glass named "&6KEK" to be unstealable
format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
else:
player has permission "mman.sk":
format slot 11 of player with red stained glass named "&6KEK" to be unstealable
format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
format slot 15 of player with red stained glass named "&6L" to be unstealable
format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
else:
player has permission: "L.sk":
format slot 11 of player with red stained glass named "&6KEK" to be unstealable
format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
else:
format slot 11 of player with red stained glass named "&6KEK" to be unstealable
format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
format slot 15 of player with red stained glass named "&6L" to be unstealable
format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]