Yet another broken script...

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

acai

Active Member
Oct 23, 2020
89
1
8
Code:
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.
 
Last edited:
You can try putting code in the parser.
Here are my errors, \/

Code:
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

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

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:')

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:')

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:')

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:')

Line 35: Can't understand this condition: '{leader} is in world "amongushub"' (script.sk, line 35: if {leader} is in world "amongushub":')

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":')

Line 61: Use 'attacker' and/or 'victim' in damage events (script.sk, line 61: if {isimpostor::%player%} contains attacker:')

Line 73: Can't compare a player with 'in world "amongusworld"' (script.sk, line 73: if player is in world "amongusworld":')

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":')

Line 117: There's no player in an on script load/unload event (script.sk, line 117: set {correctmsgs_%player%} to 0')

Line 118: There's no player in an on script load/unload event (script.sk, line 118: set {currentno_%player%} to 0')
 
You can try putting code in the parser.
Here are my errors, \/

Code:
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

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

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:')

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:')

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:')

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:')

Line 35: Can't understand this condition: '{leader} is in world "amongushub"' (script.sk, line 35: if {leader} is in world "amongushub":')

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":')

Line 61: Use 'attacker' and/or 'victim' in damage events (script.sk, line 61: if {isimpostor::%player%} contains attacker:')

Line 73: Can't compare a player with 'in world "amongusworld"' (script.sk, line 73: if player is in world "amongusworld":')

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":')

Line 117: There's no player in an on script load/unload event (script.sk, line 117: set {correctmsgs_%player%} to 0')

Line 118: There's no player in an on script load/unload event (script.sk, line 118: set {currentno_%player%} to 0')
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.
 
You can try putting code in the parser.
Here are my errors, \/

Code:
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

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

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:')

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:')

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:')

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:')

Line 35: Can't understand this condition: '{leader} is in world "amongushub"' (script.sk, line 35: if {leader} is in world "amongushub":')

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":')

Line 61: Use 'attacker' and/or 'victim' in damage events (script.sk, line 61: if {isimpostor::%player%} contains attacker:')

Line 73: Can't compare a player with 'in world "amongusworld"' (script.sk, line 73: if player is in world "amongusworld":')

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":')

Line 117: There's no player in an on script load/unload event (script.sk, line 117: set {correctmsgs_%player%} to 0')

Line 118: There's no player in an on script load/unload event (script.sk, line 118: set {currentno_%player%} to 0')

For the line 8 thing its "set tab list name of player to "example" "
 
Status
Not open for further replies.