Attack animation

Hi guys, im working on a click to move game, and i hv one issue, right now my player idle, run and attack but wts happen is when he attack and kill and enemy, the attack animation always run one more time after enemy die. Can anyone help me plz? Appreciate

Bump anyone plz?