timer++; if (timer > duration) instance_destroy();