Skip to the second big paragraph if you don't need a backstory on my bike 
Hi everyone. I recently (2 days ago) got my hands on a 1974 Honda Z50J. The plan was to get it certified and road legal in NZ, however it lost all compression after I tried to tune the carb yesterday - It would start fine while not using the choke however it refused to start at all while using it, so I figured I'd iron out the issue, then... kaput. Shouldn't have touched it
. Anyway, the engine it has installed is from an ST50 Dax and it has a manual clutch. After removing the head, it appears to have the wrong piston. At TDC it appears to stop a few mm before reaching the top of the cylinder, with a heap of carbon buildup in the area it doesn't extend to. Compression was just under 3kg/cm2 after it stopped running however I'm not sure the shorter piston would cause it to be that low... as it was running and driving when I purchased it. Also after disassembling I found the left hand thread for the intake manifold it stripped... Annoying but I just chucked a lot of silicone at it however no change - I was thinking It could be a vacuum leak due to that stripped thread prior to compression testing it. I found a few other loose fasteners on/in the engine too and it feels like something has come loose and is scraping on the flywheel. There is a lot of resistance when turning the flywheel even with the head removed, and if I look through one of the holes in the flywheel I think I can see what looks like scored metal towards the rear of the interior. I did mess with the cam chain tensioner, as there was also a noise coming from the engine prior to it's death - perhaps whatever it caught in the flywheel, however I loosened it again to ensure that it wasn't an overly tight cam chain causing the resistance, and it wasn't. There were also very fine metal particles in the oil when I emptied the engine and my last oil change was the day I purchased it so that's not good. A cause of the metal particles could be the upper cam chain sprocket cover, as I detached it to inspect the cam chain, and after removing it a second time I noticed it had been scraping against the sprocket - how this happened I do not know. Mismatched parts? I used 0.7L 10w-30 SAE as specified on the right side engine cover too, so I'm decently sure nothing I did caused this.
Anyway, my big question is, will an eBay CDI conversion kit for the Z50 work if installed in a CRF50 engine? I ask this as having to potentially purchase a bunch of parts for my current engine (new piston, and maybe cam chain rebuild kit) may exceed the cost of just buying a CRF50 engine from a wrecking bike near me. I was also planning on doing the CDI conversion at some point anyway so I don't mind buying the kit. While doing research I saw people saying due to the updated stator design you have to swap out the wiring loom and coil on the Z50 for the CRF50 one or it won't work, or connect up right - and add the CRF50 CDI, no duh. To avoid doing this I was wondering if I could install that kit and keep the old wiring loom. I'm aware that Honda changed the taper on the crankshaft so that the old style flywheel no longer fits, and from pictures I've seen online it looks like the kit might fit, but my main concern is compatability between the new style flywheel and the ebay kit. Is anyone able to shed some light on this, or show me some other paths I can take? Any input is appreciated. Cheers, Samuel.

Hi everyone. I recently (2 days ago) got my hands on a 1974 Honda Z50J. The plan was to get it certified and road legal in NZ, however it lost all compression after I tried to tune the carb yesterday - It would start fine while not using the choke however it refused to start at all while using it, so I figured I'd iron out the issue, then... kaput. Shouldn't have touched it

Anyway, my big question is, will an eBay CDI conversion kit for the Z50 work if installed in a CRF50 engine? I ask this as having to potentially purchase a bunch of parts for my current engine (new piston, and maybe cam chain rebuild kit) may exceed the cost of just buying a CRF50 engine from a wrecking bike near me. I was also planning on doing the CDI conversion at some point anyway so I don't mind buying the kit. While doing research I saw people saying due to the updated stator design you have to swap out the wiring loom and coil on the Z50 for the CRF50 one or it won't work, or connect up right - and add the CRF50 CDI, no duh. To avoid doing this I was wondering if I could install that kit and keep the old wiring loom. I'm aware that Honda changed the taper on the crankshaft so that the old style flywheel no longer fits, and from pictures I've seen online it looks like the kit might fit, but my main concern is compatability between the new style flywheel and the ebay kit. Is anyone able to shed some light on this, or show me some other paths I can take? Any input is appreciated. Cheers, Samuel.