.js(7,91): UCE0001: ';' expected. Insert a semicolon at the end.

I’m sure I have written into “;”

but still error

Tell me How do I edit it …Please

Thanks


   function Update () {
    
    	if(Input.GetKey(KeyCode.W)){
    		this.transform.position.z = this.transform.position.z + (5*Time.deltaTime);
    	)
    }

I formatted it for you (in the future please do so yourself.)

Once its formatted its easy to see you have a stray ) where you should have a } on line 5

There is a ) that should be } line 5

With errors like this Google the error code, in this case UCE0001
To find out how to solve them.

Try this:

#pragma strict

var moveSpeed : float = 1.0f;

function Update () {
	if(Input.GetKey(KeyCode.W)){
		transform.position.z += moveSpeed * Time.deltaTime;
	}
}