How do I make a proper combo fighting system?

Hey guys, I’m still a novice learning a lot about unreal, going through courses everyday and videos, but well, I’ve been working on a little fun project of mine…
It’s kind of an inspiration of one of my favorite old MMORPG’s, here’s a quick random video of this game I’m talking about:

So, I already have my game with the top down template to look very similar to it, got the controls, still have no HUD, but right now I’m struggling through maybe one of the hardest parts to code in the game, the combat system ><
in the game I’m somewhat trying to copy, you move with arrow keys and use a series of combos with A and S keys, like A A A S, A A A A A, A S, etc. Right now I have 3 combo animations: a normal swing, the same swing mirrored, and a heavier swing.
I followed a few videos from youtubers to guide me through making a combo system, or at least try to. I somewhat succeeded and failed at the same time. Here’s a video of the combo system I copied all the code from Unreal Engine 4 - Adding Animations - Combo Attacks/Attacking (Part 28) - YouTube
It might be slightly irrelevant, he’s done so many other things in his long videos before and I have different goals in mind. Basically I need to have a different combo system, because it’s currently very buggy.

This is my game so far: Another Unreal problem :( - YouTube
As you can see, the combat i made is all jacked up. It takes 5 hits to kill each enemy normally, but it only wants to hit when it feels like it, no matter how many swings i make it, and eventually, the enemy takes hits just by idling next to the enemy with the sword touching it and it dies without attacking. Completely broken, and I have no solution for this, I may have to start over and delete all the code from that one combo video I was following. I just wanna make a series of 5 hits combo for now, but idk when I’ll ever get this right ><
thanks in advance :3