error: ';' expected. Insert a semicolon at the end.

every time I import a script this message pops out error: ‘;’ expected. Insert a semicolon at the end.so I just wanna know what is wrong with my script here it is and if there is anything wrong pls inform me

#pragma strict

var rayLength = 10;

private var treeScript : TreeController;

private var playerAnim : Arms Controller;

function Update()
{
	var hit : RaycastHit;
	var fwd = transform.TransformDirection(Vector3.forward);
	
	if(Physics.Raycast(transform.position, fwd, hit, rayLength))
	{
		if(hit.collider.gameObject.tag == "Tree")
		{
			treeScript = GameObject.Find(hit.collider.gameObject.name).GetComponent(TreeController);
			playerAnim = GameObject.Find("FPSArms_Axe@Idle").GetComponent(PlayerControl);
			
			if(Input.GetButtonDown("Fire1") && playerAnim.canSwing == true)
			{
				treeScript.treeHealth -= 1;
			}
		}
	}
}

You are ignoring the line which the compiler has the error. I assume it says line 7. Which should make you spot that the variable type has a space in it. The compiler assumes that the space is the end of the statement and so needs a semicolon.

(Also, note that it’s expected for Unity users to include full details about their problems on this site. You are avoiding including the error number, UCE0001 which I have added for you. Also, when you need help, just search for these errors and you’ll get lots of help and not need to post a duplicate question.)