I set the property of health if it became 0, it goes to the dying state. But the problem is, if the player damages the enemy and it goes below 0, it wont die. For example, the enemy has 5 health, and the player damages it and it became -1, it wont die. Any ideas?
Instead set up an interval sensor… make it die if its health is between -100 and 0. That should solve the problem.