I don t know how to fix this error

#pragma strict
var rotationSpeed = 100;
var jumpHeight = 8;

private var isFalling = false;

function Update ()
{
//Handle Ball:Rotation
var rotation : float = Input.GetAxis (“Horizontal”) * rotationSpeed;
rotation *= Time.deltaTime;
GetComponent.().AddRelativeTorque (Vector3.back * rotation);
if (Input.GetKeyDown(KeyCode.W) && isFalling == false )
{
GetComponent.().velocity.y = jumpHeight;
isFalling = true;
}

}
function OnCollisionStay ()
{
isFalling = false;
}
[/code]
Expressions in statements must only be executed for their side effects
Help?

Please use code tags for the code and post the entire error message

I’m sorry i saw that post but i don’t understand how to make my code look like the one on the picture,can you just help me,or tell me how to posto code ?

At least give us a line.

This error normally comes up if you do something like this.

6 + 7;
someBool == true;

Did you even read the post he linked? It gives step-by-step instructions.