How do i set two specific objects when they collide only one with another to delete them

I assume you mean this but it does not work any different. It still works the same and i want it so when i grab the cube 2 or 3 and drop them on one another delete the cubes but instead when i go to grab the cube 2 it deletes both of them instantly