Also, if you find that people are not friendly towards you, then you need to consider why they are not. Could it be that you are scared to make new friends because they might leave too? If you are too scared to become friends with new people because other people have moved away, then you may never get to experience true friendship again. What an unfortunate circumstance that would be. I have had friends that have moved away and sometimes we lose touch and others are still close. Do not be scared, not everyone moves away.
Could you be thinking that your lack of friends is some fault in yourself? This is really negative thinking. People respond to the way you present yourself. If you do not think well of yourself others will pick up on that and tend to lean in that direction. If you have confidence and believe in yourself, you will find that others will have an easier time believing in you as well.
Could you be so focused on your situation, you may be missing opportunities to reach out to people around you? Sometimes in life we focus so much on our problems we miss the things that are happening around us each day. Watch for opportunities to help people. Kindness goes a long way in making new friends. How do you respond when people are nice to you? I know that when people are kind to me I want to get to know them better.
The best thing for you to remember is be yourself. People tend to draw away from people who seem phony. Be open to new friendships, you never know your new best friend may be just around the next corner.