The car is a 1978 280Z with a 280zx dizzy installed. So I drove my car to work which is 25 miles away it and drove absolutely fine to work. On my lunch break, it started fine and drove. After eating, went out and tried to start the car but it wouldn't start right away. After about 10 mins of cranking it fried up and drove it back to work. After work came out and cranked it all night till the battery died and it wouldn't start. Checked the plugs and they looked good. Went to autozone bought a new rotor and distributor cap, still doesn't start. I hooked up a spark plug straight to the coil and to see if the coil is good. I noticed it sparks when I put the key on ON, but no spark during cranking. I also have notice that sometimes when I turn the key to crank it won't crank sometimes and I have to twist the key back and forth until it cranks. Would the ignition switch cause the car not to have spark during cranking?