Please help-Make an critical effect that occurs BEFORE the animation-

Hey guys, I've been trying this for honestly 10+ hours with no luck. I'm trying to make an effect, such as a sound effect + visual cue (like a cut-in) or something like that (not the point) that ONLY runs when the attack is a critical hit but that the effect occurs BEFORE the animation plays and the damage is dealt.

What I'm looking for is a script that runs an effect (just a sound effect is fine as a placeholder, I'll add the cool stuff later) when a critical hit occurs, but plays before the regular attack animation.

If someone could help me with this I would be soooooooo incredibly grateful. You'd seriously get a special thanks in the credits I'm desperate.

Something that works like this is what I'm looking for (not the effect itself, the way it runs) (well I mean the effect is awesome if someone could that as well, even better) : 




Thanks so much in advance!
Would this be for every critical attack by every actor and enemy? Or just particular attacks?
Would this be for every critical attack by every actor and enemy? Or just particular attacks?
Preferably actors only, and have an if statement to see which actor id so I can have appropriate cut-ins.

And it would apply to the "attack" skill, the regular attack function.

Original thread: https://forums.rpgmakerweb.com/threads/please-help-make-an-critical-effect-that-occurs-before-the-animation.19006/