Hey! I'm trying to create a script that will automatically close and lock a door a few seconds after use. Not a load door, but a regular animated swinging door. (ImpJailDoor02 is the one i started working on) I have all of that working, but i have run into two problems: 1: The player can close the door while the script is running, tried to prevent this with the "BlockActivation" function, but i either used it incorrectly or it can't do what i want it to do. 2: Nothing prevents the player from following behind a NPC opening the door. Is there possibly a collision plane that will let through NPCs, but not the player that i can activate and deactivate? Unrelated tips for cleaning up the script if it's needed is also of course welcome. For some reason the "code" function of the forums would not save the spaces created with tab key presses making the script a bit annoying to read, apologies for that. Script in question: