Okay so I got it working by making my second while loop and just making it while(1) and then enclosing the rest of the action in that one loop. I didn't do that originally because I was thinking the while(1) would cause the game to slow a bit because all of the doors would be in an infinite while loop waiting for the player to get close with enough points. haha Thanks though to all three of you, I appreciate it.