I cant find what is wrong with the skript would like some help.

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

Dennis12_op

Member
Apr 1, 2020
18
0
0
23
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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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&lto &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
 
line 26 format slot 16 of player with yellow wool named "&4Manager" with lore "&a&lLeft click to grant &4Manager &a&lto &7%arg-1%" to run then close [[make player execute command "pex user %arg-1% group set Manager"
remove 1 " [ "
upload_2020-4-27_22-45-20.png
 
Status
Not open for further replies.