Why Don't Males Take An Interest In Me?

I'll probably ramble on and on and be all over the place, but hopefully somebody understands me. I am 18 years old. I have never had a serious face-to-face relationship (only 1 long distance). I don't get attention from boys. As a matter of fact, I'm probably rated the lowest out of my group of friemds by boys. This makes me think of myself as "the ugly friend" out of the group. The boys make fun of me most of the time. It doesn't make sense to me why because I am of the smartest in my group of friends and nowadays boys are always posting about how they want a girl with substance. I have intelligence, logic, and success running through my veins. This is not saying my friends are stupid or dumb, because they aren't, but they always come to ME for help with anything before they go to someone else. I don't know if boys see me as a threat or what but I like to keep to myself and look at them from afar. None of them approach me to converse or flirt. I know I shouldn't base me being beautiful off of boys but I don't feel beautiful. I know that I am, but I don't feel like it. I have acne scars all over my face and my smile is crooked so I don't really like to take pictures. My friends try to uplift me, but it only helps a little bit and then I'm back in my head. There is this one guy I've had a crush ever since the beginning of freshman year of high school, and I'm more than sure he knows it because my friend had told him that year. He's a good male friend of mine now, and we always like to hang out and stuff, but he likes to flirt and kiss on her (the same friend that told him that I like him). She has sex with 2 different men on a regular and flirts with every guy she comes in contact with, including my ex. My ex hardly even talks to me anymore but likes to talk to her and they never even met. I don't intend to sound jealous but it's all so frustrating and annoying that I don't get any male attention. It shouldn't, but it makes my self esteem and confidence go down, makes me stressed out, and makes me over think and end up crying everytime. I don't kbow what to do. Icve tried finding myself and stuff I like to do, I like to keep my mind occupied but eventually it just goes back to the question: Why don't males take an interest in me?