This may sound complicated, because I can't quite explain it, but for example in my school there was a guy with whom I didn't get along. He was annoying, cocky and simply dumb. I couldn't stand being near him, but there was a time when he helped and I really saw his true colours. I chose friendship over hatred and that brought us closer. You need to stop sending negative thoughts everytime you see those people and manifest good situations. Affirmations like: I am a great friend or I am loveable by all may help.
I remember this quote from somewhere, but I don't know who wrote it:
"Everybody is your friend. You just need to give them time to see your good side." And the same goes for you. You have to be willing to show YOUR good side.