Likely to be the ignition system. See if you're getting spark. If not, use a multimeter to check the resistance of the magneto. Check the condition of the spark plug, and also look for burning between the spark plug and wire. It's most likely the cdi, but at least test the other components before replacing any parts. You want to be sure.