I think you're just a little down on yourself, and it happens to the best of us! You're just in a funk. It's definitely not attractive to others when your OVER confident, but confidence can be very attractive, so it's all about the right balance. Believe that you're awesome, and others will believe it too. You have the opportunity to make your life how you want to make it, whether you're good looking or not!
I know it sounds dumb, but write down a few things you like about yourself every single day. That'll remind you of how important, smart, determined, charming, courageous, and kind you are. Put looks aside, that's not the problem here! Focus on yourself, get to the gym to get your serotonin levels up (I swear you'll feel happier), and find a new hobby or interest to immerse yourself in for the time being. You'll be fine, I promise!