Depends what’s wrong with it, and how much it would cost to fix compared to what it’s worth when fixed. I’d say if the motor is stuffed (can’t just replace parts) it’s probably not worth it. But wheels, suspension, brakes and even clutch replacements aren’t too expensive (unless it’s quite a few things wrong)