kinda relationship

So one of my friends tried to hook me up with her ex and now his best friend and I are talking. He texts me every day to tell me I'm beautiful cuz I told him I think I'm ugly. He super nice but I think he playing with my feelings just from my experience. I don't know what to do.