How do i destroy a particle when an object is destroyed

Im trying to make a bullet hole particles get destroyed when a game object (Cube) reaches 0 health and also gets destroyed, right now the bullet holes stay floating in the air even though the cube was destroyed.
I tried to make it so the particle game object also gets destroyed when the health reaches 0 but that makes every gameobject have 0 health, i also tried using tags but since the cube is being destroyed it doesnt display the change in tag.

if anyone knows what i can do please let me know. Thanks in advance!

If you’re instantiating your bullet holes, make them children of the gameobject that hits. So when you destroy your cube, the particles will also be destroyed.
@tylern1245