I'm trying to make a pause menu. I have a very basic set up so I can add stuff in later. I just want to get it to work before I make it complicated. By all accounts it should work, but for some reason it doesn't.
For reference, my player has a alterable string named "State" that the code refers to. This should act as the "switch" so all my code turns off and on properly. The way the code is laid out I can make the game pause, but it does not resume. If I change the order of the "While_Paused" and "Pause_Controls" it does not work at all. Could someone please point me in the right direction?fake jump pause.jpg <=== (Screen shot of code)