First, always use code-tags when posting code. You can edit your post above.
Why don’t you know where you have two errors? If you have two compiler errors being reported, they tell you the description of what is wrong along with both the line and column number the error was found.
Nobody here is a compiler so if you don’t know where the errors are, we won’t.
You should edit your code above and post the FULL errors.
I mean, I can see one just by LOOKING and you could too if you looked at this tiny bit of script. See “privat Vector3 rotation;”?