Smash key to open door puzzle? (solved)

I'm doing a test map with all the puzzles my game will have before adding them to the actual scenes,just to make sure they work first.
I wanted to add at some points,one of those scenes where the player is locked or cornered,and has to repeatedly smash the OK key to open a door. Something like in mad father's chase sequence(at around 12 seconds in):
example of the event

My game was originally in xp but recently decided to remake it in VxAce. I did try this there,but it didn't work,so I'm trying my luck to see if this engine is nicer to me xD
Anyone knows how to do this via event? (idm if it's a script tho)
This can be done with events.

This can be done with events.

I followed the simplest reply on the thread and it worked perfectly! thanks 😀

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/smash-key-to-open-door-puzzle-solved.166358/