Thanks for the help. When using the IF function how can I make it so when the player presses a key(whatever key) the conditions set in the IF turn on without the player having to hold the key to make the conditions continue. I hope you get my explanation..