He is too immature?

I like this guy a lot. I’m 25 and he’s 23. He’d make slick comments when I’m on ft with him and his friends saying. “When are we about to hit the strip club?” Or references to a club. I know we aren’t dating but it makes me feel a bit uncomfortable. Lately when I’d see him - he’d think it’s funny to acknowledge all my friends and forget me. But would come back and say ‘I’m kidding’ or ‘I was just joking’. Is it best to just leave him alone before I really get hurt?
He is too immature?
Post Opinion