if (speed == 0) instance_destroy();