Engine isn't getting spark... help please

I pulled the cap off to see if the points were moving and they are infact opening and closing as it turns. but still no spark…