So my girlfriend broke up with me like 3weeks ago.
Our relationship was very toxic, although I was and am madly in love with her. 
She says that she does still love me but we were arguing so much, partially because I tended to find a way to create conflicts that she eventually decided to definitely end things.
However she wants to stay friends and I agreed with it.

Now, in our relationship that lasted half and a year, we spent all our weekends together and even the 2 weekends after our breakup.
But today, she told me that she didn't want to spend the Friday with me and maybe not even the whole weekend. She says we should be a little bit appart.

I don't really have friends in this place I cannot go to my family's because no one will be home.

I have serious anxiety thinking about how lonely i will be this weekend, that includes white Monday.
I moved in this country around 2years and I don't have any friends. 
I am starting to have bad thoughts and am quite desperate. If anyone has any type of advice to make friends and handle breakups, maybe similar relationships. Pls pls tell me I am so helpless.