if (obj_goofyrock.x == 280) instance_destroy();