I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
You posted in VX support, but the screenshots and your profile show that you're using VX Ace - that are two different programs.
About your problem:
You need to split that event and use several common events called from it.
Conditional branch: Button being pressed is only checked in that specific frame where the conditional branch is executed. This you have worsened by making the branches conditional on each other and placing waits inside them.
Which basically means that each and every button is only checked in one specific of nine frames and being ignored at all other times...
You need one common event on parallel process (those loop automatically) which checks for all buttons and as soon as one is pressed, it stores a code number for the button into a variable and ends itself.
And the other events trigger that wait for a button and check the value in the return variable to make the action when its over.
And don't use else-branches, make the checks on the same logic level - it'll make handling a lot easier.
No, the problem why you can't stop the loop is because you pressed the button at the wrong microsecond.
Yes, Microsecond - that's how long the conditional branch checks for the button press.
But just for clarification:
You did press the button :X, and NOT the key X at your keyboard, yes?
The buttons are not the same as the keys of your keyboard - press F1 during game to configure your keyboard if you don't know which key is the button :X
Oh right Thank you very much