Bad noises after replacing valve cover gasket

My 318 was leaking a little from the valve cover so I decided to change it. I swapped it in and then started it up and it ran fine but starting spitting up even more oil than before. I'm sure the gasket wasn't on right so I took it off and then straightened it out. This time I bumped one of the pushrods and then it came loose so I took the rocker arm shaft off and put it back. Bolted over thing up and now when I start it it makes this awesome crack/ping noise and it barely runs. It sounds like the engine is destroying itself so I quickly shut it off. I took off the valve cover again and adjusted the rocker arm and push rods and tried it again and the same awful noise came back. Any idea why this could be? I didn't take any of the spark plug wires off so they are still in the correct order. Didn't touch the timing or anything. Could it be that the pushrods aren't on right?
Author: 74Runneer