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.

Yet another broken script...

Discussion in 'Skript' started by acai, Dec 7, 2020.

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

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    Code (Text):
    1. https://pastebin.com/J0XyaV4K
    This is a simple among us skript for my friend's server. I get many errors when I use this, but there are so many lines of code (around 113), that it isn't surprising. Anybody have help? Thank you.
     
    #1 acai, Dec 7, 2020
    Last edited: Dec 7, 2020
  2. Purple Pixel

    Purple Pixel Member

    Joined:
    Sep 23, 2020
    Messages:
    40
    Likes Received:
    3
    Can you provide us with all of the errors on load?
     
  3. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    You can try putting code in the parser.
    Here are my errors, \/

    Code (Text):
    1. Line 109: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (line 109: if loop-player is in world "amongusworld":') (When a trigger, event or function has no code inside of it, Skript will warn you that there is nothing there. ) Apply a SmartFix
    2.  
    3. Line 8: Can't understand this condition/effect: set player's tab name to "&f&lQUEUE &r> &1%player%" (line 8: set player's tab name to "&f&lQUEUE &r> &1%player%"') (The Parser doesn't support every syntax element.)
    4.  
    5. Line 12: Can't understand this condition: 'format gui slot 0 of player with red wool named "&4&lRED" to close then run' (script.sk, line 12: format gui slot 0 of player with red wool named "&4&lRED" to close then run:')
    6.  
    7. Line 17: Can't understand this condition: 'format gui slot 1 of player with blue wool named "&1&lBLUE" to close then run' (script.sk, line 17: format gui slot 1 of player with blue wool named "&1&lBLUE" to close then run:')
    8.  
    9. Line 22: Can't understand this condition: 'format gui slot 2 of player with lime wool named "&a&lLIME" to close then run' (script.sk, line 22: format gui slot 2 of player with lime wool named "&a&lLIME" to close then run:')
    10.  
    11. Line 27: Can't understand this condition: 'format gui slot 3 of player with pink wool named "&c&lLIGHT RED" to close then run' (script.sk, line 27: format gui slot 3 of player with pink wool named "&c&lLIGHT RED" to close then run:')
    12.  
    13. Line 35: Can't understand this condition: '{leader} is in world "amongushub"' (script.sk, line 35: if {leader} is in world "amongushub":')
    14.  
    15. Line 57: There's no loop that matches 'loop-player is in world "amongusworld"' (script.sk, line 57: if loop-player is in world "amongusworld":')
    16.  
    17. Line 61: Use 'attacker' and/or 'victim' in damage events (script.sk, line 61: if {isimpostor::%player%} contains attacker:')
    18.  
    19. Line 73: Can't compare a player with 'in world "amongusworld"' (script.sk, line 73: if player is in world "amongusworld":')
    20.  
    21. Line 109: There's no loop that matches 'loop-player is in world "amongusworld"' (script.sk, line 109: if loop-player is in world "amongusworld":')
    22.  
    23. Line 117: There's no player in an on script load/unload event (script.sk, line 117: set {correctmsgs_%player%} to 0')
    24.  
    25. Line 118: There's no player in an on script load/unload event (script.sk, line 118: set {currentno_%player%} to 0')
     
  4. Purple Pixel

    Purple Pixel Member

    Joined:
    Sep 23, 2020
    Messages:
    40
    Likes Received:
    3
    Do you use any skript addons? If not, you need to get TuSKe in order to do format gui slot..... Once you do that and give me the errors I think I can help you.
     
  5. BadName

    BadName Member

    Joined:
    Oct 23, 2020
    Messages:
    23
    Likes Received:
    0
    For the line 8 thing its "set tab list name of player to "example" "
     
Thread Status:
Not open for further replies.

Share This Page

Loading...