scr_monsterdefeat(0, 0, 0, 0, 0); with (mypart1) instance_destroy(); with (mypart2) instance_destroy();