If you are talking about mc18/21 with an analogue speedo then my money is on the plastic drive that goes over the gearbox output shaft. The Speedo cable plugs into an angled drive on the sprocket cover that plugs into the white plastic drive that goes over the output shaft.
The angled drive eventually rounds out the slot in the white plastic bit, usually the Speedo works intermitently before it finally gives out.