Enemy health problem unity2D

Well i’m making 2D game and as you can see in the picture, i have an enemy and trigger. trigger have health system. if health less then 0 i want to make my enemy destroyed. but it doesn’t work maybe it was a simple question but i dont really know i’m new at scripting

Enemy Script=

Trigger Script

write GameObject not transform