if (sold == 1) { if (instance_exists(solid1)) { with (solid1) instance_destroy(); } }