Button Mash Attack

Hi, I am making a physical fighter type character, and wanted to give them an attack which involves mashing a button to cause consecutive hit.

Essentially the attack is given a timer, and each time the player hits a button, it will register as another hit, and replay the animation, until the timer runs out, where the turn will shift.

So if it's a punching based attack, every time the player hits the button (i.e. Spacebar) the character will punch again.

Are there any plugins of this sort at this time?
Moved to: JS Plugin Requests

Original thread: https://forums.rpgmakerweb.com/threads/button-mash-attack.99910/