Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

<eof> expected near end? What's that mean?

Asked by
Irvene 5
10 years ago

Made a script, and on line 55, it says that there's a <eof> expected near end. That's the error? What's that supposed to mean??

001BlueTeam = game.Teams["BlueTeam"]:Clone()
002local RedTeam = game.Teams["RedTeam"]:Clone()
003local NumPlayers = 2
004 
005repeat wait(0)until game:FindFirstChild("Teams")
006local GameTime = 250
007local A = game:service('Players')
008local A1 = "This service is unavailable, please wait until 1 more player joins..."
009local A2 = "Welcome to the official meadows sfing game"
010local A4 = "5"
011local A3 = "The amount of players is successful, and the game will be starting in" .. A4 .. "Seconds.."
012local A5 = "Teaming players..."
013local A6 = "Blue team has won"
014local A7 = "Red team has won"
015local redplayers = 0
View all 121 lines...
0
you or whoever made that code had the time of their life ignoring efficiency and enjoying lengthening their code greatneil80 2647 — 2y

3 answers

Log in to vote
1
Answered by
Spooce 78
10 years ago

Check this Wiki page: http://wiki.roblox.com/index.php?title=Lua_errors#Confusing_Error_Messages

Ad
Log in to vote
1
Answered by
RAYAN1565 691 Moderation Voter
10 years ago

You have an extra 'end' on line 55.

Just remove one 'end' from there

Log in to vote
0
Answered by 10 years ago

You have an extra end on line 55

0
But the problem is if I remove it, nothing works. But if I don't nothing works either. The teaming function isn't working, please help. Irvene 5 — 10y

Answer this question