How to make an custom object on top of a pile get destroyed when the bottom ones are destroyed

In Fortnite, when you destroy an object at the bottom of a pile, the ones at the top also get destroyed. How can I achieve the same effect with custom props?