Chosen Solution

replaced the battery solenoid valve and voltage regulator still nothing when I press the gas?

Here is a link to wiring diagrams: http://www.courtesygolfcars.com/yamaha-s…. They have both the G22A and G22E. Before spending more money on parts, I would take a multimeter and start checking components. For example, do you get continuity when the key is turned in the key switch, and do you lose continuity when you turn the key off. If so, then there is no need to spend money on the key switch.