I miss him so much 😢 I feel like I want to die!

These past 2 weeks have been the worst of my life! This breakup feels like it's ripping my heart out. We broke up because basically I wasn't a nice person to live with. I took him for granted and I've now realised exactly what I was like. I know exactly what I need to do to change, but just need to prove to him that I'm serious. He's on my mind 24/7, I can't eat and have lost weight. I'm on antidepressants, I can't sleep. I can't concentrate on anything. We both still love each other very much, he even told me last night that he loves me and always will. But when I ask to come back home he goes quiet. 2 nights ago he stayed in my mother house with me, we had an emotional day saying goodbye to my dad. And as we were together for a long time he's like family to my family so it was only right he attended the funeral. When we both went home afterwards he called me and was upset so he came over to stay and we just held each other all night. He said there's no one else and I believe him. I just miss him so much and want him back. I've had relationships end before but I've never felt like this. I feel actual physical pain

*thank you for your advice. He has actually told me today that he needs space and wants to live on his own for a while* so that is what i'l do