I want a friend how do I get one?

I tried several times but I have never successfully made friends. I tried making some in school by seeming friendly so I took part in a couple clubs and brought homemade cupcakes or other food for everyone but still id be tossed off to the side line until they had a question like how do I make a handle for my cup ( I was good a ceramics) then in college I tried inviting people I knew to a certain degree to various things like I tried inviting people to bowling , water parks, movie's, I even tried my hand at throwing a party but without fail everyone always gives me sounds fun I'll be there then cancels the day of I invited 15 different people most of which didn't know each other and they all cancelled 3 hour's before the party. Ps some of the people weren't in school at the time. what am I missing here I don't understand what I have to do to be deemed good enough friends material to have a friend.
I want a friend how do I get one?
I have been without friends for 8 year's so you could say I'm getting kinda of desperate and people at my job always say I'm sweet and nice and they don't understand why I don't go hang out with friends. Ps my coworker are about 30 years older than me with kids and grandkids.
I want a friend how do I get one?
Post Opinion