I am trying to figure out how to implement a script that closes a door if no one (player or npc) is in the box trigger. So when player or npc walks off of the BoxTrigger the door will close.

This will be my first script so if you could help me as to how to setup the script that would be helpful as well. Thanks!

Twitch Partner - Jedi - Rocket Surgeon - Sponsored by Soylent