I just wanted to start of saying that im not so good at scripting.
I have this script that makes it so when gameobject, tag “Player” enters the trigger area, sound plays. Well when i enter the area it plays the sound but when i enter the area again the sound plays again and i want it to only be able to play once.
Here is the script
var Sound : AudioClip;
function OnTriggerEnter(){
audio.PlayOneShot(Sound);
}
(javascript)