I'm not sure if your an adult or a kid. But its so much easier for kids yo make friends. I moved to a new city for work a few years ago and I was feeling lonely. So I went on meetup.com, its not a dating site. Its a site for adults to make friends with other people based on your hobbies & interests. I made some new life long friends on there that I'll cherish forever.
Smile a lot, stand tall and confidently, if you talk to someone don't talk about negative things that happened to you and get them to talk about themselves. Just be a super positive person and then you will stand out and people will talk to you, and you can make friends. Remember people's names too, it's a huge help.
I just smile and be friendly and say oh to people and talk about their day, get people's numbers to text, just be fun and people will like you and just be out going and have a good time and pick the right friends and find people who share common unrest as u to make it easier to get along and laugh.