i have 3 problems with my game.
the first is the hitbox spawning in the wrong places when you press D to hit.
the second is that when u press D fast it will spawn more hitboxes,
i want to spawn the hitboxes with the animation but if u press too fast the animation will not finish (you can see it in the capx).
and the third is that i have some bugs with the hiting animation and while your are running, i have some events that handle the hit animation but i think that they are not the optimals.
here is my capx (actualized)