Thank you, it works, I'm going to change Return to 1500msec because it's spam clicking them. Also, they're inside a building, sometimes outside, I need something like:
If(manWoman.isUnreachable && doorObject.isClosed)
open door;
If you know any good tutorials for complete beginners, I will definitely read them. I feel bad for basically asking you to make this script for me.