I've used this script before and can't remember if I wrote it or its a default. Basically I want a OnTriggerEnter script that closes a door and locks it when player passes through a trigger box. Door is initially closed, player opens door, enters trigger box and door slams shut behind player. I don't remember how I did this and whether I put the script on the trigger or the door or 1 on either. Help me!