boy issues helpp

okay so I NEED help so I'm kinda friends with these 2 people and pretty much thats it and its me this guy and this other girl and the guy is my x and its rlly complicated and he kinda never stoped like me and I dated him like a year ago and then a few. motnhs later and we broke up and it reallt messed him up and now I told him I liked him again cause he kept pressuring me into telling him and ik its stupif and I told him and it rlly messed up my other friend the girl in the group and she was like wtf stop playing with his feelings and I regret saying it so much now I wish I said nothing because now theyre all mad at me anf idk how to fix this and he said he just needed some time to think and I rlly need some help with this what should I do???