Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My game script has an error, I tried checking it but it doesn't work at all, any help?

I have a code, and i tried making a minigame game, and the game script does not work. Here is the line where it says that there is an error.

for i = 1, #AllPlayers do

and this is the error message.

  error:(132,3) Syntax error: expected 'then' when parsing if statement, got 'for'

any help?

1 comment

0

I'm sorry, i figured it out, no need to respond now.

1 answer

Before anybody answers, I figured it out, the line before needed a "then".

This discussion is preserved as it was. New answers, comments, and votes are closed.