Unless the timeout isnt connected to your timer, I'm not really sure why that's not working. If you want to remove the enemy after the animation plays though you could call the function at the end of the animation in the AnimationPlayer node.