Wait causes many people grief until they get it. Wait does NOT stop the game from progressing. What happens is that, to the side, in parallel, there is a wait and then any actions/sub-events immediately FOLLOWING the wait action are performed.
Your code, as is, is going to continually loop in the WHILE event because of this, but the two MogweiNumber sub-events will occur after one second (with the Wait turned on again that is).
Hopefully this is enough to let you rethink your wait code.