How do I swap/blend animations when a button is pressed - GIF included

Hey all. I'm trying to make it so the player can press a button then their swing weapon swings. Not sure if I'm going about it the right way. I've included a gif and event code.

The way I'm doing it feels awkward. I'm turning the player sprite transparent while playing a battle attack animation on top of the player scaled down to 20%. Currently, I'm not sure how to blend animations properly. As you can see, the player turns invisible for a second. I'm new to RPG Maker so I don't know if I'm doing it the right way. Anyone know of a more efficent way to accomplish this?

This is only a test whether I can even get this to work, too. Then I need to think about specific animations for directions and how to get an enemy react to getting hit. I just want the enemy to take some damage before starting turned based combat. The second part seems like it would be difficult. Can someone get me started on how to do the second? Like, what's the event to make an event happen a tile away from the player - in the direction they're looking? Thanks everyone!

https://cdn.discordapp.com/attachments/452615345736384522/1075616597730922536/swingTest.gif

https://cdn.discordapp.com/attachments/452615345736384522/1075617211831562351/image.png

edit: I also have a common event called "Check R Pressed" that makes the player wait in spot for 10 frames that runs in parallel with "Sword Swing".

I found this script but I can't work it out as I'm not a scripter.


edit2: I'm not going action combat based - I just to allow the player to attack a monster before entering turned based combat. Kind of like Dragon Quest 11. The monster will take some damage entering turned based combat after being attack. That's the idea anyway.
Ace does not support gif natively, so the only way to use them is by script.

and the rest - while theoretically possible to do this by eventing, I think it would be much better if you search the internet to find one of the four or five ABS-type scripts that existed for Ace.

ABS is short for Action Battle System, and in the RM-Context that is a battlesystem that happens on the map with swinging melee weapons and magic missiles and so on.
There were one or two that were easy to configure even for non-scripters, but I don't remember their names.

And you can follow the link "how to use a script" in my signature if you have too much trouble understanding script instructions and configurations.
Sorry, for the misunderstanding. I'm not trying to use gifs in RPG Maker - by "GIF included" I meant gif included in the post. This gif.

https://cdn.discordapp.com/attachments/452615345736384522/1075616597730922536/swingTest.gif

Thanks though. I'll search out the ABS scripts and see if I can figure it out how it's done.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-swap-blend-animations-when-a-button-is-pressed-gif-included.155010/