Alright, maybe this is just me missing something but I can't seem to find this anywhere so here's the problem.
I have a character with an Idle animation, a Walking Animation, and various other animations like Attack, Block, etc. The Idle animation is set to play when the character is not moving, and the Walking animation is set to play when the character IS moving. This works fine and dandy. But the Attack animation is set to play when the Left Mouse Button is clicked, but when I click the Left Mouse Button, the animation glitches for a second and just continues to be idle, like it's trying to play the Attack animation but goes back to Idle anyway. I know this probably has something to do with him still not moving and clicking the button at the same time but I dont know how to separate the two.