confused

Idk what to do me and my boyfriend of a year and a half just recently broke up and he's like confusing as shit one day he's all like oh I miss you and want you to come over I still love you then the next second he's one wording me and telling me to get over it and like I can't I've been with him for a long time and I gave up so much for him and gave him everything I was loyal spoiled him and I even still do these things and I just want to fix things and he just says "I don't want a relationship rn" and like idk what to do, is there still hope for us 😞 I'm feeling lost and empty without him I miss him like crazy 😩