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

I get the message “Assets/Scripts/GunFire.js(22,10): UCE0001: ‘;’ expected. Insert a semicolon at the end.” When i am not missing a semicolon, Please Help!

Heres My Code:

var MuzzelFlashGo : GameObject;

function Update () {
    if(Input.GetButtonDown("Fire1")) {
        var gunsound : AudioSource = GetComponent.<AudioSource>();
        gunsound.Play();
        Flash.SetActive(true);
        MuzzelFlashStop();
        GetComponent.<Animation>().Play("GunShot");
        GlobalAmmo.LoadedAmmo -= 1;
    }
    if (Input.GetButtonDown("Fire1")) {
        if (GlobalAmmo.LoadedAmmo < 0) {
            GlobalAmmo.LoadedAmmo += 1;
        }
    
    }
}

function MuzzelFlashStop() {

    yeild WaitForSeconds (0.1);
    Flash.SetActive(false);

}

Its the line ‘yeild WaitForSeconds (0.1);’ line on the 10th character

your spelling of yield is wrong on line 22 change to:

yield WaitForSeconds(0.1);

Otherwise if there is a hidden character between char 10 and 11 then just copy the above and paste it over the current line.