So I cant seem to get this simple script working. I have made a box collider that is trigger and added an audio source with the sound: DogeBark inside it. This is my script:
#pragma strict
var doge : AudioClip;
function OnTriggerEnter ()
{
audio.Play(DogeBark);
}