Regarding online classes: I thought in taking online classes too, but I knew they would never work out, I knew I would be slacking off and just playing games and not giving a care to class. So I stuck with the regular classes. You have to find motivation for yourself and why you are doing this.
I myself didn't have friends halfway through high school, I also didn't know what else to do. The "friends" I knew at the time were split, some graduated, others were just plain assholes. I picked myself up and met new people, I was very reluctant about it and it turned out to be one of the best things I have ever done.
Everyone has self worth and no one can judge or determine who is worth more, don't worry so much. You're going to find someone one day who will value you more than anyone else out there. You can't just give up on life and say it's over, give something new a shot.