How do i destroy a triggered sound when destroying a different object?

I have a looping alarm sound triggered by going through a door. (trigger, do once, play sound attached) but I want this to stop when I destroy an actor.

I have a machine that is set to be destroyed (Triggers and e, gate, destroy actor and attached actors that need destroying, play sound attached).

I would like to be able to destroy the alarm sound when I press ‘E’ at the same time as it is destroyed.

Basically in the game when you destroy this machine the alarm stops going off… how can I do this? simply.
I’m very new to Unreal Engine and the help would be appreciated.

Thanks,

I think you could use IsValid node for that. It tells you whether an actor exists in the game or not so you check the item you will be destroying with IsValid every time you hit E, then stop the sound(or Destroy Component) using the Is Not Valid pin.