It might not even be running, just cranking.
I am new to these as well, but recently on this forum it was suggested to unhook the ground wire from the rev limiter,
Its a small black box on the lower front of the engine. Difficult to see but it was there and it did the fix on mine.
I got on the cart and it started right up and ran about 30 feet and just stopped. Sometimes it trys to start but wont quite do it. I will try disconnecting the ground wire from the rev limiter. This was when the problem started. Jack do I have to get under the cart to disconnect the ground wire?
Yes, The ground to the block, It sounds like you found the rev limiter.
Yes it should crank in maintenance mode, Make sure the key is on and it is in neutral.
You should be able to see the micro switch on a high lobe when you are in the correct position for maintenance.
You could always jack the back wheels off the ground as an alternative in gear.
Pull the spark plug from the engine, stick it back on the plug wire and lay the body of the sp plug against something that will ground it.
You can actually hold the body of the plug tightly against the block or head and not get shocked. (just keep your fingers away from the ends) You should be able to see the spark jump across the plug.
If the plug looks fouled that may be your problem.