I have a script running a dialogue and if the player presses a key, a pause menu opens. I want to pause the script when the player enters the pause menu and resume when the play exits the pause menu.
Is there any way you can pause and resume a script?

1 comment
Why not use a function to enable/disable instead