Debug Help Please

I keep getting the following 2 errors when trying to compile my script, screenshot attached any help be great, thanks.

Your closing bracket isn’t a closing bracket.

The very last line of your code should be:

}

not:

{

thankyou it now compiles ok but i now get the following error in unity when trying to run it

Unity Exception input button DOWN is not set up

Movement is usually implemented using Axes, see http://docs.unity3d.com/Documentation/ScriptReference/Input.GetAxis.html. “down” is a virtual name for the down-arrow. It’s used to connect the Vertical axis to the down-arrow on the keyboard. A “button” is a switch on a joystick. If you explicitly want to check if the down-arrow key is pressed on the keyboard (not the button-board ;-)) then use Input.GetKey(“down”).

that is the input i used in my script

Okay. Your screenshot showed something different.