Incomplete statement: expected assignment or a function call

I was making a game, and the loading screen worked fine. then randomly, it just… decided to stop. every single time i open the game in the normal roblox player, the game just crashes! and in studio it never advances from the loading screen. i already tried changing up the size == 0 thing to stuff like size < 1. There are no math related stuff in the code. Can anyone help me? The error is too vague. Even if I disable the script the game still crashes.

This is the code.

1 Like

Copy and paste the entire code and recommit the change - sometimes the committing in studio doesn’t work too well.

Like, remove all the code, close the script, then open it, paste it all back in, and close the script again.

Thank you. That worked. I’ll mark this as the solution now.