";" expected. Insert a semicolon at the end. (UCE001)

I’m following a simple YouTube tutorial to learn Unity and scripting. The guy in the video seemed to build this fine. I’m wondering why it’s complaining about a semicolon on line 16 when one is already there.

#pragma strict

var moveUp : KeyCode;
var moveDown : KeyCode;

var speed : float = 10;

function Update ()
	if (Input.GetKey(moveUp))
		rigidbody2D.velocity.y = speed;
	else if (Input.GetKey(moveDown))
		rigidbody2D.velocity.y = speed; *-1;
		rigidbody2D.velocity.y = 0;

As mikequell already posted ; *-1; is incorrect code.
Think of ; as the end of sentence delimiter just as dot is for a natural language. So you would have

rigidbody2d.velocity.y = speed;

This way you can see that *-1 doesn’t make much sense on its own. Just remove the first semicolon and it will make more sense. velocity.y will be the inverse speed if you press moveDown and speed if you press mouseUp.

You must delete the semicolon after the speed variable in line 16.

Fixed code:
rigidbody2D.velocity.y = speed *-1;