I have a 1989 Yamaha WR500 that doesn't spark all the time I have been messing with this problem for days and still cannot figure it out. Is there anyone out there that can steer me in the right direction. It will spark for a quick second and than its gone. I can let it sit for a bit and may or may not come back. Really starting to get frustrated.

Any help would be appreciated.