I want to make a horror game that includes a bot that detects when a player opens/closes a door. I also need the script to include a sensor (or whatever it's called) that focuses on the nearest location so the bot doesn't gets distracted by other players.
Thanks if you answer this!

1 comment
Ps: clickdetector you can find out more in the RunKittenzRComin's answer