Headlight / engine wiring issues

If you like working for .50 cents an hour, this can be straightened out but it will take a lot of time. You will have to determine why there are so many splices in it, and then you can re-wrap the whole thing. At this point it would be better to find a replacement, new or used. It is not a good idea to zip-tie spark plug wires together, some separation is best.

All the engine work was done by the previous owner, I'll probably just get a new harness. Will it have the same pin connectors that connect to the back of the engine bay? Because the rest of the wiring in the car is great.