Spark plug functional but no ignition spark

Good evening, As the title says, my spark plug is functional but I don’t get any sparks. I built in a new carburetor and the scooter ran only had to adjust the carburetor. When I came home in the evening and wanted to start the scooter he didn’t go on anymore. I tested the spark plug and no spark came. I got a spark plug from the other scooter that does not work. I know someone where that can lie once saw if any cable is loose abe It’s all right.