I cant find what is wrong with the skript would like some help.
Code:
command /grant [<offline player>] [<text>]:
permission: core.grant
permission message: &cYou cannot access our rank system.
trigger:
if arg-1 is not set:
send "&cPlease specify a player."
else:
open chest with 6 rows named "&b&lChoose a Rank" to player
wait 2 ticks
format slot 0 of player with gray dye named "&6Member" with lore "&a&lLeft click to grant &6Member &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Member"]
format slot 1 of player with pink wool named "&cYou&fTube" with lore "&a&lLeft click to grant &cYou&fTube &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set youtuber"]
format slot 2 of player with pink wool named "&5Twitch" with lore "&a&lLeft click to grant &5Twitch &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set twitch"]
format slot 3 of player with pink wool named "&evip" with lore "&a&lLeft click to grant &eVIP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set vip"]
format slot 4 of player with light gray wool named "&evip&f+" with lore "&a&lLeft click to grant &eVIP&f+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set% vip+"]
format slot 5 of player with yellow wool named "&5mvp" with lore "&a&lLeft click to grant &5MVP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp"]
format slot 6 of player with light blue wool named "&5mvp&4+" with lore "&a&lLeft click to grant &5MVP&4+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp+"]
format slot 7 of player with 35:5 named "&5mvp&4++" with lore "&a&lLeft click to grant &5MVP&4++ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set group set mvp++"]
format slot 8 of player with white wool named "&eT-Builder" with lore "&a&lLeft click to grant &eT-Builder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-builder"]
format slot 9 of player with green wool named "&bBuilder" with lore "&a&lLeft click to grant &bBuilder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Builder"]
format slot 10 of player with yellow wool named "&aT-Helper" with lore "&a&lLeft click to grant &aT-Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-helper"]
format slot 11 of player with cyan wool named "&2Helper" with lore "&a&lLeft click to grant &2Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Helper"]
format slot 12 of player with purple wool named "&1Mod" with lore "&a&lLeft click to grant &1MOD &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Mod"]
format slot 13 of player with light blue wool named "&cAdmin" with lore "&a&lLeft click to grant &cAdmin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set admin"]
format slot 14 of player with orange wool named "&dH-Admin" with lore "&a&lLeft click to grant &bH-Admin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set H-admin"]
format slot 15 of player with orange wool named "&3Dev" with lore "&a&lLeft click to grant &3Dev &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set dev"]
format slot 16 of player with yellow wool named "&4Manager" with lore "&a&lLeft click to grant &4Manager &a<o &7%arg-1%" to run then close [[make player execute command "pex user %arg-1% group set Manager"]
format slot 17 of player with red wool named "&aOwner" with lore "&a&lLeft click to grant &aOwner &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Owner"]
format slot 49 of player with 166 named "&c&lCancel" to close
command /grant [<offline player>] [<text>]:
permission: core.grant
permission message: &cYou cannot access our rank system.
trigger:
if arg-1 is not set:
send "&cPlease specify a player."
else:
open chest with 6 rows named "&b&lChoose a Rank" to player
wait 2 ticks
format slot 0 of player with gray dye named "&6Member" with lore "&a&lLeft click to grant &6Member &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Member"]
format slot 1 of player with pink wool named "&cYou&fTube" with lore "&a&lLeft click to grant &cYou&fTube &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set youtuber"]
format slot 2 of player with pink wool named "&5Twitch" with lore "&a&lLeft click to grant &5Twitch &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set twitch"]
format slot 3 of player with pink wool named "&evip" with lore "&a&lLeft click to grant &eVIP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set vip"]
format slot 4 of player with light gray wool named "&evip&f+" with lore "&a&lLeft click to grant &eVIP&f+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set% vip+"]
format slot 5 of player with yellow wool named "&5mvp" with lore "&a&lLeft click to grant &5MVP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp"]
format slot 6 of player with light blue wool named "&5mvp&4+" with lore "&a&lLeft click to grant &5MVP&4+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp+"]
format slot 7 of player with 35:5 named "&5mvp&4++" with lore "&a&lLeft click to grant &5MVP&4++ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set group set mvp++"]
format slot 8 of player with white wool named "&eT-Builder" with lore "&a&lLeft click to grant &eT-Builder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-builder"]
format slot 9 of player with green wool named "&bBuilder" with lore "&a&lLeft click to grant &bBuilder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Builder"]
format slot 10 of player with yellow wool named "&aT-Helper" with lore "&a&lLeft click to grant &aT-Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-helper"]
format slot 11 of player with cyan wool named "&2Helper" with lore "&a&lLeft click to grant &2Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Helper"]
format slot 12 of player with purple wool named "&1Mod" with lore "&a&lLeft click to grant &1MOD &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Mod"]
format slot 13 of player with light blue wool named "&cAdmin" with lore "&a&lLeft click to grant &cAdmin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set admin"]
format slot 14 of player with orange wool named "&dH-Admin" with lore "&a&lLeft click to grant &bH-Admin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set H-admin"]
format slot 15 of player with orange wool named "&3Dev" with lore "&a&lLeft click to grant &3Dev &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set dev"]
format slot 16 of player with yellow wool named "&4Manager" with lore "&a&lLeft click to grant &4Manager &a<o &7%arg-1%" to run then close [[make player execute command "pex user %arg-1% group set Manager"]
format slot 17 of player with red wool named "&aOwner" with lore "&a&lLeft click to grant &aOwner &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Owner"]
format slot 49 of player with 166 named "&c&lCancel" to close
permission: core.grant
permission message: &cYou cannot access our rank system.
trigger:
if arg-1 is not set:
send "&cPlease specify a player."
else:
open chest with 6 rows named "&b&lChoose a Rank" to player
wait 2 ticks
format slot 0 of player with gray dye named "&6Member" with lore "&a&lLeft click to grant &6Member &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Member"]
format slot 1 of player with pink wool named "&cYou&fTube" with lore "&a&lLeft click to grant &cYou&fTube &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set youtuber"]
format slot 2 of player with pink wool named "&5Twitch" with lore "&a&lLeft click to grant &5Twitch &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set twitch"]
format slot 3 of player with pink wool named "&evip" with lore "&a&lLeft click to grant &eVIP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set vip"]
format slot 4 of player with light gray wool named "&evip&f+" with lore "&a&lLeft click to grant &eVIP&f+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set% vip+"]
format slot 5 of player with yellow wool named "&5mvp" with lore "&a&lLeft click to grant &5MVP &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp"]
format slot 6 of player with light blue wool named "&5mvp&4+" with lore "&a&lLeft click to grant &5MVP&4+ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set mvp+"]
format slot 7 of player with 35:5 named "&5mvp&4++" with lore "&a&lLeft click to grant &5MVP&4++ &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set group set mvp++"]
format slot 8 of player with white wool named "&eT-Builder" with lore "&a&lLeft click to grant &eT-Builder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-builder"]
format slot 9 of player with green wool named "&bBuilder" with lore "&a&lLeft click to grant &bBuilder &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Builder"]
format slot 10 of player with yellow wool named "&aT-Helper" with lore "&a&lLeft click to grant &aT-Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set T-helper"]
format slot 11 of player with cyan wool named "&2Helper" with lore "&a&lLeft click to grant &2Helper &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Helper"]
format slot 12 of player with purple wool named "&1Mod" with lore "&a&lLeft click to grant &1MOD &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Mod"]
format slot 13 of player with light blue wool named "&cAdmin" with lore "&a&lLeft click to grant &cAdmin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set admin"]
format slot 14 of player with orange wool named "&dH-Admin" with lore "&a&lLeft click to grant &bH-Admin &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set H-admin"]
format slot 15 of player with orange wool named "&3Dev" with lore "&a&lLeft click to grant &3Dev &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set dev"]
format slot 16 of player with yellow wool named "&4Manager" with lore "&a&lLeft click to grant &4Manager &a<o &7%arg-1%" to run then close [[make player execute command "pex user %arg-1% group set Manager"]
format slot 17 of player with red wool named "&aOwner" with lore "&a&lLeft click to grant &aOwner &a<o &7%arg-1%" to run then close [make player execute command "pex user %arg-1% group set Owner"]
format slot 49 of player with 166 named "&c&lCancel" to close