UCE0001: ';' expected. Insert a semicolon at the end. but there is one

hy i have a problem, i copy FPS1.8 Basic Gun with Weight. Unity3D FPS Game Design Tutorial script and i have this error UCE0001: ‘;’ expected. Insert a semicolon at the end. but there is one in line 111.51 on my gun script here is the script:

var cameraObject : GameObject;

@HideInInspector

var targetXRotation : float;

@HideInInspector

var targetYRotation : float;

@HideInInspector

var targetXRotationV : float;

@HideInInspector

var targetYRotationV : float;
var rotateSpeed : float = 0.3; 
var holdHeight : float = -0.5;

var holdSide : float = 0.5;

var racioHipHold : float = 1;

var hipToAimSpeed : float = 0.1;

@HideInInspector

var racioHipHoldV : float;

 

var aimRacio : float = 0.4;

 

var zoomAngle : float = 30;

 

var fireSpeed : float = 15;

@HideInInspector

var waitTilNextFire : float = 0;

var bullet : GameObject;

var bulletSpawn : GameObject;

 

var shootAngleRandomizationAiming : float = 5;

var shootAngleRandomizationNotAiming : float = 15;

 

var recoilAmount : float = 0.5;

var recoilRecoverTime : float = 0.2;

@HideInInspector

var currentRecoilZPos : float;

@HideInInspector

var currentRecoilZPosV : float;

 

 

function Update () 

{

    if (Input.GetButton("Fire1"))

    {

        if (waitTilNextFire <= 0)

        {

            if (bullet)

                Instantiate(bullet,bulletSpawn.transform.position, bulletSpawn.transform.rotation);

            targetXRotation += (Random.value - 0.5) * Mathf.Lerp(shootAngleRandomizationAiming, shootAngleRandomizationNotAiming, racioHipHold);

            targetYRotation += (Random.value - 0.5) * Mathf.Lerp(shootAngleRandomizationAiming, shootAngleRandomizationNotAiming, racioHipHold);

            currentRecoilZPos -= recoilAmount;

            waitTilNextFire = 1;

        }

    }

    waitTilNextFire -= Time.deltaTime * fireSpeed;

 

    currentRecoilZPos = Mathf.SmoothDamp( currentRecoilZPos, 0, currentRecoilZPosV, recoilRecoverTime);

 

cameraObject.GetComponent(MouseLookScript).current  TargetCameraAngle = zoomAngle;

 

    if (Input.GetButton("Fire2")){

cameraObject.GetComponent(MouseLookScript).current ; AimRacio = aimRacio;

        racioHipHold = Mathf.SmoothDamp(racioHipHold, 0, racioHipHoldV, hipToAimSpeed);}

    if (Input.GetButton("Fire2") == false){

cameraObject.GetComponent(MouseLookScript).current ; AimRacio = 1;

        racioHipHold = Mathf.SmoothDamp(racioHipHold, 1, racioHipHoldV, hipToAimSpeed);}

 

    transform.position = cameraObject.transform.position + (Quaternion.Euler(0,targetYRotation,0) * Vector3(holdSide * racioHipHold, holdHeight * racioHipHold, 0) + Quaternion.Euler(targetXRotation, targetYRotation, 0) * Vector3(0,0,currentRecoilZPos));

    

    targetXRotation = Mathf.SmoothDamp( targetXRotation, cameraObject.GetComponent(MouseLookScript).xRotation, targetXRotationV, rotateSpeed);

    targetYRotation = Mathf.SmoothDamp( targetYRotation, cameraObject.GetComponent(MouseLookScript).yRotation, targetYRotationV, rotateSpeed);

    

    transform.rotation = Quaternion.Euler(targetXRotation, targetYRotation, 0);


}

(i cant figure out how to post the script correctly :frowning: but here a picture!
[alt text][1]

I assume you need a semicolon to make line 111 to look like

cameraObject.GetComponent(MouseLookScript).current; TargetCameraAngle = zoomAngle;

You really need to clean up your code though, you shouldn’t have multiple lines of code on one line like that. It just makes it so much harder to read. Even if you did copy and paste it from somewhere, cosider going through it and fixing all the spacing, tabbing, variable names (ratio is spelled racio constantly), etc. It makes it easier for you to debug it as a programmer, us to help you, and anyone else to read it.