It needs to have a Jumpscare sound affect with it while looking at the enemy. I’ve looked everywhere for a script that would make this easier but I can’t find anything PLEASE HELP!
Use a Raycast to tell if the camera is looking at something then play the audio clip. Unity - Scripting API: Physics.Raycast