Unity Script Error

Hi I’m new to Unity and I’ve been following a tutorial on YouTube but there seems to be an error with the script I have copied. This is my script:

The error is Assets/thing.js(31,1):BCE0044: expecting ‘*’, found ‘’. and I know people have had this problem, but they seem to have it with too much or not enough }. If you could help me that would be great, but please keep it simple because I have only just started. Thanks!

Line 11 should be / not /

Sorry that still doesn’t work, and now there are 2 errors (2 errors in total, not extra):

Assets/thing.js(29,1): BCE0043: Unexpected token: *.

and

Assets/thing.js(30,1): BCE0044: expecting }, found ‘’.

Oh sorry I fixed those errors but I now have 4 new ones:

Assets/thing.js(13,12): BCE0005: Unknown identifier: ‘input’.

Assets/thing.js(17,12): BCE0005: Unknown identifier: ‘input’.

Assets/thing.js(21,12): BCE0005: Unknown identifier: ‘input’.

Assets/thing.js(25,12): BCE0005: Unknown identifier: ‘input’.

If you could help that would be great!

Input

not

input

If u r using MonoDevelop in writing those script, U should able to get “Blue” color “Input” (default theme)
and when u type I,n,p,u,t,{dot} , u should able to see a lot of auto smart text (I don’t what’s that call)
BUt anyway, when u got all that, it should be correct.

Thanks so much guys it finally works!