Is there anything wrong with this script?

How to understand compiler and other errors and even fix them yourself:

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220