Please use the scripting forum for scripting issues and typos. Also, here’s how to use code-tags when posting code.
If you are following a tutorial then all you really have to do is compare your code against theirs. Errors always tell you the exact line/column the error was found.
I’ll move your post.