Confusion

I’ve been seeing this guy for 3 months now. We were good then he says he’s not sure if he wants anything. I give him space but then he texts saying how he misses me. We hang out all the time and have sex, every time we hang out. One day he wants a relationship, the next he doesn’t. I’m not the kind of person to give up on someone and I really could see myself with him, but I’m not sure if I give him time or just be done.