He tried coming back and then rejected me

ab
My ex kept contacting me and he finally made me respond, our talk was supposed to be about our daughter  and then it turned to a talk about our relationship.. He basically started saying he still cares about me, and he hopes he can take my daughter & I out as a family together.. & we can talk about things then. Well today I contacted him.. I asked to ft and he asks "is it cool if my girlfriend is next to me?" Like pretty much acting like yesterday never happened..I said no, so then he starts telling me he's been living with her... I was so confused.. So I ended up calling him & he seemed really rushed the whole time but towards then end he starts saying he's going to take me to court.. I'm so confused right now guys.. He was acting like he was going to leave her but instead that didn't happen... Like I just want to break down & cry... He betrayed me again :(( I need someone to talk to...