Unexpected Token }.

Hello everyone, Makar here, I was working on a script, and I found this rather odd: alt text

This is the Console error, and below is the Script itself: alt text

The second to last line, which is highlighted, is the line in question by the console. It says unexpected token, yet it's the semicolon. It's closing the other, so what's wrong?

You should add some command/commands in the "case 0:" block (instead of the comment). The compiler tries to find a command there, so the semicolon is unexpected :)