Oh just go slit your wrists already. Being ugly doesn't have any bearing on being able to get friends. You can be really popular only if you're good looking, sure, but I've seen some of the ugliest motherfuckers around, both male and female, and they STILL managed to have friends.
YOUR problem is your state of mind. You don't believe you'll ever have friends. Therefore, you won't make the effort, and so you'll never have friends. It's self-fulfilling, but it's still all in your head.