If you want it to spawn in the exact location you killed the first entity, use the transform on death. It which basically dies and turns into the other entity.
If you want something to spawn in a specific location, create an entity that is detecting the other entities before it. Use the entity does not exists transition, and once the entity is no longer detected, transition into a phase to spawn your new entity.