This is just a guess but try making it when you enter the building it deltes the enemy completely then make it so when you go outside the enemy will be created again.