Hurt by ex

So me and my ex used to date and he wasn’t treating me very well and I was going through a really tough time and that’s when I needed somebody the most so I broke up with him cause when one of my friends told him why it was tough he said he didn’t care to everyone ... so I broke things off and then like I had gotten bored and asked to play iMessage games and we started talking and he opened up about some of his family issues and we were talking good from about a couple of weeks then out of no where he just started treating me bad in the past and he wants me to let him in again but I’m pushing away cause he wasn’t there when I needed him the most and I still hold my rightful grudge we hung out and stuff but then he started putting on a show for his friends being rude to me infront of his friends which I don’t appreciate and this month has been hard I’ve had to write him a couple of paragraphs then his bestfriend fts me and ask how I feel about him and I said “i don’t really feel anything towards him .” And then proceeds to tell me how he was “in his feels about me.” And Ik he’s gonna act different when school starts so I’m distancing myself from him slowly cause I know he’ll start acting different but it’s ok I just want to stop liking him and unattach myself from him .