A common issue likely because when you collide with something, also the conditions for another animation are true. Which animation is it showing instead? It's walking or idle I guess. For the animation that is showing, you need to go to the events and add a condition 'hp is not 0' or whatever the condition is for death.