AudioClip problem!

var TriggerSound : AudioClip;

function OnTriggerEnter() {

	audio.PlayOneShot(TriggerSound);
}

function Update () {

}

After I’ve walked into the box collider, I want the song to never play again so it doesnt play AGAIN and AGAIN everytime you go back into the box collider but I just dont know how to :frowning:

var on:boolean = false;

function OnTriggerEnter() {

 
    if(!on){
    audio.PlayOneShot(TriggerSound);
    on=true;
    }

}

There.