How to destroy a matinee when an object is destroyed

Hey thank you for the response yes the object gets destroyed when I fire at it but I want the matinee to get destroyed once that object is destroyed and I don’t know how to code it.