1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LuckPerms GUI Skript Error

Discussion in 'Skript' started by Dex, May 16, 2021.

Thread Status:
Not open for further replies.
  1. Dex

    Dex Member

    Joined:
    May 16, 2021
    Messages:
    1
    Likes Received:
    0
    So I was making a LuckPerms gui skript to switch around ranks really fast but when I try to switch ranks it says: <none> is not a valid username/uuid. but for some reason my regular ranks work perfectly fine, but when I click on the Staff and Special ranks it gives me that message. Here is my code:
    Code (Text):
    1. # Made By Dex
    2.  
    3. command /dexlp [<text="gui">] [<player>]:
    4.     permission: dexlp.use
    5.     permission message: &8[&eStar&9Dupe&8] &cNo Permission.
    6.     aliases: /dextest
    7.     trigger:
    8.         if arg-1 is set:
    9.             if arg-2 is not set:
    10.                 wait 1 tick
    11.                 open virtual chest inventory with size 5 named "&bLuck&3Perms &eGui" to player
    12.                 format gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 19 and 20 and 21 and 22 and 23 and 24 and 25 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of player with {frame} named "&0 "
    13.  
    14.                 format gui slot 30 of player with oak sapling of power 1 with hidden enchants named "&2Tree" to run:
    15.                     close player's inventory
    16.                     make player execute command "/lp tree"
    17.  
    18.                 format gui slot 31 of player with enchanted golden apple named "&bHelp" to run:
    19.                     close player's inventory
    20.                     send "&6&l(!) &7Skript Help can be found on the official &eSpigot &7Resource <tooltip:&6Click to open the &eSpigot &6Resource><link:https://google.com>&6&nhere." to player
    21.            
    22.                 format gui slot 32 of player with anvil of power 1 with hidden enchants named "&aEditor" to run:
    23.                     close player's inventory
    24.                     make player execute command "/lp editor"
    25.  
    26. # Staff Ranks
    27.             format gui slot 14 of player with netherite ingot of power 1 with hidden enchants named "&9Staff Ranks" to run:
    28.                 open virtual chest inventory with size 1 named "&2Staff Ranks" to player
    29.                
    30.                 format gui slot 0 of player with light blue dye of power 1 with hidden enchants named "&8[&9Helper&8]" to run:
    31.                     make player execute command "/lp user %player% parent set helper"
    32.            
    33.                 format gui slot 1 of player with lime dye of power 1 with hidden enchants named "&8[&aMod&8]" to run:
    34.                     make player execute command "/lp user %player% parent set mod"
    35.            
    36.                 format gui slot 2 of player with red dye of power 1 with hidden enchants named "&8[&cAdmin&8]" to run:
    37.                     make player execute command "/lp user %player% parent set admin"
    38.        
    39.                 format gui slot 3 of player with orange dye of power 1 with hidden enchants named  "&8[&bCo Owner&8]" to run:
    40.                     make player execute command "/lp user %player% parent set coowner"
    41.  
    42.                 format gui slot 4 of player with pink dye of power 1 with hidden enchants named "&8[&dOwner&8]" to run:
    43.                     make player execute command "/lp user %player% parent set owner"
    44.  
    45. # Special Ranks
    46.             format gui slot 13 of player with emerald of power 1 with hidden enchants named "&dSpecial Ranks" to run:
    47.                 open virtual chest inventory with size 1 named "&2Special Ranks &eMenu" to player
    48.  
    49.                 format gui slot 0 of player with red dye of power 1 with hidden enchants named "&8[&cMedia&8]" to run:
    50.                     make player execute command "/lp user %player% parent set yt"
    51.  
    52.                 format gui slot 1 of player with cyan dye of power 1 with hidden enchants named "&8[&bSkripter&8]" to run:
    53.                     make player execute command "/lp user %player% parent set skript"
    54.  
    55. # Regular Ranks
    56.             format gui slot 12 of player with iron ingot of power 1 with hidden enchants named "&6Regular Ranks" to run:
    57.                 open virtual chest inventory with size 1 named "&2Regular Ranks &eMenu" to player
    58.  
    59.                 format gui slot 0 of player with light gray dye of power 1 with hidden enchants named "&8[&7Default&8]" to run:
    60.                     make player execute command "/lp user %player% parent set default"
    61.  
    62.                 format gui slot 1 of player with purple dye of power 1 with hidden enchants named "&8[&5Basic&8]" to run:
    63.                     make player execute command "/lp user %player% parent set basic"
    64.  
    65.                 format gui slot 2 of player with orange dye of power 1 with hidden enchants named "&8[&6Legend&8]" to run:
    66.                     make player execute command "/lp user %player% parent set legend"
    67.  
    68.                 format gui slot 3 of player with green dye of power 1 with hidden enchants named "&8[&2Premium&8]" to run:
    69.                     make player execute command "/lp user %player% parent set premium"
    70.  
    71.                 format gui slot 4 of player with light blue dye of power 1 with hidden enchants named "&8[&bPrimal&8]" to run:
    72.                     make player execute command "/lp user %player% parent set primal"
    73.  
    74.                 format gui slot 5 of player with black dye of power 1 with hidden enchants named "&8[&6Custom&8]" to run:
    75.                     make player execute command "/lp user %player% parent set custom"
    76.  
    77.             if arg-2 is set:
    78.                 set {_e} to arg-2
    79.                 wait 1 tick
    80.                 open virtual chest inventory with size 5 named "&bLuck&3Perms &eMenu" to player
    81.                 wait 1 tick
    82.                 format gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 19 and 20 and 21 and 22 and 23 and 24 and 25 and 26 and 27 and 35 and 36 and 37 and 38 and 39 and 40 and 41 and 42 and 43 and 44 of player with {frame} named "&0 "
    83.  
    84.                 format gui slot 30 of player with oak sapling of power 1 with hidden enchants named "&2Tree" to run:
    85.                     close player's inventory
    86.                     make player execute command "/lp tree . %{_e}%"
    87.  
    88.                 format gui slot 31 of player with enchanted golden apple named "&bHelp" to run:
    89.                     close player's inventory
    90.                     send "&6&l(!) &7Skript Help can be found on the official &eSpigot &7Resource <tooltip:&6Click to open the &eSpigot &6Resource><link:https://google.com>&6&nhere." to player
    91.            
    92.                 format gui slot 32 of player with anvil of power 1 with hidden enchants named "&aEditor" to run:
    93.                     close player's inventory
    94.                     make player execute command "/lp editor"
    95.  
    96. # Arg-2 Regular Ranks
    97.                 format gui slot 12 of player with iron ingot of power 1 with hidden enchants named "&6Regular Ranks" to run:
    98.                     open virtual chest inventory with size 1 named "&2Regular Ranks &eMenu" to player
    99.  
    100.                     format gui slot 0 of player with light gray dye of power 1 with hidden enchants named "&8[&7Default&8]" to run:
    101.                         make player execute command "/lp user %{_e}% parent set default"
    102.  
    103.                     format gui slot 1 of player with purple dye of power 1 with hidden enchants named "&8[&5Basic&8]" to run:
    104.                         make player execute command "/lp user %{_e}% parent set basic"
    105.  
    106.                     format gui slot 2 of player with orange dye of power 1 with hidden enchants named "&8[&6Legend&8]" to run:
    107.                         make player execute command "/lp user %{_e}% parent set legend"
    108.  
    109.                     format gui slot 3 of player with green dye of power 1 with hidden enchants named "&8[&2Premium&8]" to run:
    110.                         make player execute command "/lp user %{_e}% parent set premium"
    111.  
    112.                     format gui slot 4 of player with light blue dye of power 1 with hidden enchants named "&8[&bPrimal&8]" to run:
    113.                         make player execute command "/lp user %{_e}% parent set primal"
    114.  
    115.                     format gui slot 5 of player with beacon of power 1 with hidden enchants named "&8[&6Custom&8]" to run:
    116.                         make player execute command "/lp user %{_e}% parent set custom"
    117.  
    118. # Arg-2 Special Ranks
    119.             format gui slot 13 of player with emerald of power 1 with hidden enchants named "&dSpecial Ranks" to run:
    120.                 open virtual chest inventory with size 1 named "&2Special Ranks &eMenu" to player
    121.  
    122.                 format gui slot 0 of player with red dye of power 1 with hidden enchants named "&8[&cMedia&8]" to run:
    123.                     make player execute command "/lp user %{_e}% parent set yt"
    124.  
    125.                 format gui slot 1 of player with cyan dye of power 1 with hidden enchants named "&8[&bSkripter&8]" to run:
    126.                     make player execute command "/lp user %{_e}% parent set skript"
    127.  
    128. # Arg-2 Staff Ranks
    129.             format gui slot 14 of player with netherite ingot of power 1 with hidden enchants named "&9Staff Ranks" to run:
    130.                 open virtual chest inventory with size 1 named "&2Staff Ranks" to player
    131.                
    132.                 format gui slot 0 of player with light blue dye of power 1 with hidden enchants named "&8[&9Helper&8]" to run:
    133.                     make player execute command "/lp user %{_e}% parent set helper"
    134.            
    135.                 format gui slot 1 of player with lime dye of power 1 with hidden enchants named "&8[&aMod&8]" to run:
    136.                     make player execute command "/lp user %{_e}% parent set mod"
    137.            
    138.                 format gui slot 2 of player with red dye of power 1 with hidden enchants named "&8[&cAdmin&8]" to run:
    139.                     make player execute command "/lp user %{_e}% parent set admin"
    140.        
    141.                 format gui slot 3 of player with orange dye of power 1 with hidden enchants named  "&8[&bCo Owner&8]" to run:
    142.                     make player execute command "/lp user %{_e}% parent set coowner"
    143.  
    144.                 format gui slot 4 of player with pink dye of power 1 with hidden enchants named "&8[&dOwner&8]" to run:
    145.                     make player execute command "/lp user %{_e}% parent set owner"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...