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.

Solved code

Discussion in 'Skript' started by Hartvig, Aug 6, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Hartvig

    Hartvig Member

    Joined:
    Apr 18, 2017
    Messages:
    39
    Likes Received:
    1
    There is no problems with the skript, i'm just curious, is there a way you can do this faster?

    CODE:
    Code (Skript):
    1. command /title:
    2.     aliases: /tags
    3.     trigger:
    4.         open chest with 6 rows named "&e&lTitles" to player
    5.         wait 3 ticks
    6.         player has permission "kek.sk":
    7.             player has permission "mman.sk":
    8.                 player has permission "L.sk":
    9.                     format slot 11 of player with light green glass named "&6KEK" to close then run [ execute player command "/tagplayer kek"]
    10.                     format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
    11.                     format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
    12.                     format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
    13.         else:
    14.             player has permission "mman.sk":
    15.                 player has permission "L.sk":
    16.                     format slot 11 of player with red stained glass named "&6KEK" to be unstealable
    17.                     format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
    18.                     format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
    19.                     format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
    20.             else:
    21.                 player has permission "mman.sk":
    22.                     format slot 11 of player with red stained glass named "&6KEK" to be unstealable
    23.                     format slot 13 of player with light green glass named "&bMoney Man" to close then run [ execute player command "/tagplayer mman"]
    24.                     format slot 15 of player with red stained glass named "&6L" to be unstealable
    25.                     format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
    26.                 else:
    27.                     player has permission: "L.sk":
    28.                         format slot 11 of player with red stained glass named "&6KEK" to be unstealable
    29.                         format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
    30.                         format slot 15 of player with light green glass named "&6L" to close then run [ execute player command "/tagplayer L"]
    31.                         format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
    32.                     else:
    33.                         format slot 11 of player with red stained glass named "&6KEK" to be unstealable
    34.                         format slot 13 of player with red stained glass named "&bMoney Man" to be unstealable
    35.                         format slot 15 of player with red stained glass named "&6L" to be unstealable
    36.                         format slot 49 of player with red wool block named "&4Clear tag" to close then run [ clear {tag}]
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Yeah sure, there is a way to being faster, Use Tuske or Skelett/Skript, Umbaska (What youre using) is VERY bugged and Take a bit long...
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Any code examples?
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Code (Skript):
    1. set slot 0 of player's current inventory to red wool block named "&4Clear tag"
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
Thread Status:
Not open for further replies.

Share This Page

Loading...