First, please use code-tags when posting code. Second, please post scripting questions on the Scripting forum.
The error tells you the exact line the problem is on. Look at line 10, it’s not valid. You don’t specify the type. I presume it’s an “int”. The next one is on line 13 but fix the first one first and you may find others go away,.