Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.
A clear and concise description of what you are trying to do.
Explain what should happen when you run the game.
Explain what is happening instead, what is going wrong.
Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.
Insert a minimal game showing your issue in a .zip or .rar.
How to code a game to pause?