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
I'm sorry, i figured it out, no need to respond now.