These girls are bullies; they are abusing you and you have to put a stop to it. Don't worry about being friends with them; with friends like these, who needs enemies?
You did nothing wrong except perhaps trusting them when you told them who you liked. Now you know better than to tell them anything.
You can talk to a trusted teacher or counselor and your parents about this. If you're worried these girls could physically harm you, then your parents could arrange to collect you to and from school. Also your parents could talk to the parents of these mean girls.
You can slowly ignore them and break away from their friendship.
Don't worry about making new friends now. Just slowly disengage from this bad set. Go to a counselor to talk and build your self confidence. Keep yourself occupied with your hobbies. Your mom or another trusted adult can be your best friend for the time being. But pls talk to a trusted adult today and let it all out, so you feel better. Keep a journal.
In the near future when you feel stronger, you will be able to make new friends who stick with you - despite these bullies. Friends can also be relatives or young friends of your family; they don't only have to be from your school.
Just focus on moving away from these girls and telling an adult how you feel for now. Later you'll make other better friends. This is just a bad patch and it will pass. Keep strong.