How to stop or destroy all actors when the end screen comes up

Like this?

But then how would I make the turret check that? Here’s the turrets blueprints