Rough idle turned to crank then ka-thunk

Also don’t discount the magnetic pickup.
They can cause all kinds of weird things to happen.
Just because it makes a spark doesn’t mean it doing it when it’s supposed to.