Hi. Im having trouble killing the enemy jumping on its head. Can you help?

I found a prefab. It used to work before. When I raised the sizeof the enemy to match the game size and player, I started having issues with jumping on the enemy’s head and killing it. I still kill and jump of its head. It’s like a mario type of game. Where you run, jump on enemies and kill them. When I jump on its head, I sometimes die. I should only die when I collide while running. I only get a kill when I jump on the back of enemy’s head. It’s either something with the script or collider. I have no idea what’s going on.
I die when I jump on the front side of head. I kill the enemy when I jump on its back side of the head. Other things work fine. To remind you, I did raised the size of the enemy by at least 2-3 times more. Then I started having trouble jumping on its head and killing it. Let me know if you ever had the same issue or know how to fix this.

The collison is probably happening so hard and fast that before it can call the EnemyDie() function it still collides with the player. How are you handling the collision? Does the Player have a collider under it just for HeadStomping?