If the valves are okay it could be a fuel problem, or the CDI on your scooter is dying.
If the engine starts easily after a cuple of minutes (after the engine died) it should not be a fuel problem - the CDI is most probably on it’s way out. I would then just install another one without fiddling elsewhere.