Thank you for your report. Even though your story is slightly different to most here, the steps we'd advise you to take are the same and can be found
HERE.You can find us in the live help room
HERE if you need real time help. There's usually someone there. Look for the people with an A or an M next to their names.
What he did is called "sextortion" and I would go to the police about it to make a report. You're not alone in this and it's good that your friends have been so supportive. That's a big help in your getting over this.