2D enemy collision not giving player damage?

Alright, need some help on collision. This is an enemy for my 2D platformer. I was making it so the enemy can take damage to the character but it seems it doesn’t work? Am I thinking it is the collision? Can anyone help?

221558-picture-2.png