<human>: My friends and I used to be on a "what are we doing this weekend?" basis instead of a "do you want to hang out" type of thing, and we used to do plenty of activities like golf together. Now, though, they've stopped inviting me to hang out with them and they resist when I invite them to do things (make excuses, say no without explaining, or just don't respond). Yet when I see these people we still talk and nothing seems to be wrong. Just two days ago one of them texted me for a video game suggestion because he knows I'm a gamer. I don't know if I've done anything to offend anyone or if I've done anything to warrant them not wanting to hang out with me.

Yesterday the friend that texted me had a Fourth of July party that I wasn't invited to. We also used to play basketball together all the time but now they get together and do it without me. 

I went out to lunch with one of the group of friends (different kid, only time I've hung out with someone this summer) and he spoke as if I wasn't excluded. For example, he talked about how we had all gone to this restaurant for his birthday and when I let him know he hadn't invited me he said something to the effect of "no, really? I could've sworn you were there." I tried to bring up my concern with him but he dodged the conversation.

I'm incredibly lonely and have become incredibly self conscious since they've started to leave me, as I don't really have any other friends. This happened gradually over a couple months and I've been pretty depressed for a while.

I'm probably going to see one of them soon to work on a project together, would it be ok to bring up my concern? Also, what would be 
the best way to do this?

Provide a brief overview of the text.
<bot>: My closest group of friends gradually stopped hanging out with me but are still friendly with me. What should I do and how should I do it?