You are not alone. I too struggled with making friends when I was in school.The best answer to this in my opinion is, be the right person. Meaning be yourself as fully as you can, your true self, something about your self that is completely different from others, but first you have to find it. Once you find that true self and begin accepting and acting that way, that is when the right people will show up in your life because those people will resonate with you. And if you are in an environment filled with negative people, try your best to avoid them. Sometimes just because we change ourselves in a more positive way, doesn’t always mean those people in our environment’s attitude towards us will change, although sometimes it might. If you are still finding difficulty, however, i would say completely avoid and move away from them.
But if you are just starting out learning about yourself and exposing yourself to personal development and spirituality, the first thing i would suggest is establish a positive relationship with yourself, reprogram your subconscious mind with positive and truthful thoughts. Affirm to yourself that you are a powerful, capable, wonderful, intelligent, talented human being (because you are) whom everything goes right for, even if you may not feel that way in the beginning and that is okay. You can also change the language and even the tone of your affirmation so that it works for you. Hope this helps! 🙂