No spark and i can only get 5V at the coil.

OK look, it's simple

That brown wire is SUPPOSED to only go one place......from a contact on the ignition switch, to the coil +. It should only be "hot" when the key is in start No other time.

So either the switch is mis-wired, or the switch LINKAGE is screwed up, and it's not in the right position, or the switch is AFU.

Or you are somehow makiing a mistake I cannot "see." From the looks of that wiring, it's been pretty well hacked up. I cannot tell you much more

Have you tried jumpering a wire with 12V right to the coil +