You'd also need a way to tell C2 which healthbar you'd want to affect.
Easiest way would be to give the healthbar an instance variable uid and set it to the uid of the enemy.
so add an action to the healthbar create event.
healthbar set variable uid : enemy.uid
and add this condition to the enemy variable check events:
healthbar compare variable uid = enemy.uid