howcome when i add a set value the pause no longer works
global number "Pausetime" = 1
<font color=orange>
first condition Keyboard on "P" pressesd
second condition system pausetime = 1
1st Event system set time scale to 0
first condition Keyboard on "P" pressesd
second condition system pausetime = 0
1st Event system set time scale to 1
</font>
this works fine accept it doesnt let you unpause so i added an event
<font color=orange>
first condition Keyboard on "P" pressesd
second condition system pausetime = 1
1st Event system set time scale to 0
2nd event system set "pausetime" to 0
first condition Keyboard on "P" pressesd
second condition system pausetime = 0
1st Event system set time scale to 1
2nd event system set "pausetime" to 1
</font>
Now it doesnt even want to pause what do i do to fix this