Ignition wiring pk 50 s

Hi I need help with my ignition wiring, it’s been a while that i search for a schema which correspond to my vespa pk 50 s (v5x2t) ; I got a vmc IDM ignition with 4 cables on the stator, a regulator and a cdi with 2 pin and the sparkle cable, if someone know how to connect it to keep the brakes light the indicators and the light… for now i can just start the engine with a primal wiring but the headlight and the rest of the electronic dont work.
i’ll be glad someone could help me, by the way i’m french so that explain my weird english.

Hello Milan,

unfortunately I only have the photo that can help you, just pay attention to the colours, font colour are correct. please connect the cables from brake light to the yellow one.
Do not connect the white cable (only for battery models)
Blue = ground
Black- Red = CDI+
Yellow = regulator + wiring harness +12V (bridges)