Don't kill yourself. I don't know why you lost your friends. If they did something mean to you, it aint worth it, there are WAY better people out there. If they just left you, hey there's still hope, it's not the end of the world. I am one of the very many who lost some good friends. There's tons of fish in the sea. SO START FISHING! :)
Please don't kill yourself. I've been in that position too. But life can be beautiful. For this one low moment, you'll have 1,000 high moments. And those moments make everything bad worth it. Just think, when you make it through this you'll be that much stronger for it. Then you can help other people in this situation! You can change the world! Please don't sacrifice that. I believe in you and am sending you love.