How would I go about destroying an inventory item on an event?

Hey guys, I’m trying to figure out how to have certain items be destroyed when it’s container is destroyed, but leave others on the ground. So far I’ve had no success, any ideas?