[SOLVED] How to respawn all the enemies after the player has died

After my player dies he respawns at the beginning of the level. But I want all the enemies he killed to respawn back in the level too. I don’t know how to do this without creating duplicate enemies for the ones that the player didn’t kill before dying. Also some of the enemies seem to lose their behaviors after the player respawns with my current code. This is what I currently have (I’m using the “create at point” because that was how I guessed to create the enemies at the same point again)

Assign object variables for each enemy to identify them.

Delete all the enemies and recreate them all.

Thanks, that worked.

I used a combination of yours and arthuro555
It worked, thanks.