It seems the problem is that you did not connect the signals to the enemy2 instance. This meant that every time you hit an enemy (didn’t matter which one), it always damaged the enemy node and never the enemy2 node.
For the hit signal from the player, you needed to connect for enemy2:
Same for the attack_entered signal:
And the enter_entered:
Here is a zip of the working project: platformer 2 2.zip - Google Drive Note that I changed the damage done from 1 to 100 so that you don’t have to hit it so many times in order to test.