Boy problems...

I’m a 17 year old girl, who is beginning my last year of high school and I’m becoming worried. Growing up boys were never really attracted to me. I would always watch my friends get asked out on dates or to dances and etc. Guys have never really paid much attention to me. I’ve had two relationships which were terrible. Both relationships ended with the guys cheating on me and with one relationship I constantly took him back. I’m very happy for my friends because they’re in great loving relationships but I just wish I had that too. Every guy I’ve liked has just told me I’m a good friend nothing more. With my senior prom coming up I’m afraid I’ll never find a date ☹️. I just wanna know what am I doing wrong when it comes to boys? Why am I always just a friend?