It may seem as though your friend was the only person that you could open up to about deep issues on your mind. However, you did say that you usually had to just listen to her. She made fun of you, disliked your family, was very judgmental, and hot-headed.
You may be in deep pain and confusion now, but, things will get better. You deserve to be treated with respect and kindness!

Very best wishes to you...