create group. continue and deactivate group
in group keyboard space bar (I think it is keystroke 32) add 1 to global variable spacebar
if spacebar = 2 then continue game
and deactivate group conitunue
if spacebar > 2 spacebar = 0
something like that
So when you want to use it, add activate group continue whereever applicable.