Why does the animation not play only when spam clicking?

The IsAttacking boolean is being casted from the player BP to the anim BP, transitioning between the states in the state machine.