I don't speak a good english, but I need help. I need Stop all the functions and start one, how can I do this.

Is for mix two games, when one game is runing, if one key is pressed, the current game stop and the other game start.

If you know how I can do this, please help me.