Why do I seem to repel guys?

Anonymous
I'm not a very confident person, but I know I'm not as unattractive as I think of myself, like when I'm out I get checked out by guys and everything, but I can never seem to keep them around. for example, last weekend I was at a club and talking to this hot guy that I had met the weekend before. I had lost my friends and went up to him asking if he would help me find them. he was flirting with me all night, jokingly saying things like "you are hot as f***, I want to hook up with you so bad!" and he even put my number in his phone as heidi montag haha, saying I reminded him of her? haha I look nothing like heidi montag, maybe just the hair, but anyways, he didn't seem to want to walk down the street with me to find my friends, so him and his friends asked me to come to their friends house with them since I was alone ( we do have mutual friends) I jokingly said yes, I will come home with you if I don't find my friends, just trying to convince him to help me find the girls! then he was saying something about him being too old for me,(he is only two years older) and then he was just like one second and went to talk to his freinds, and then I turned around and saw them running away in the opposite direction! sorry for writing a novel here, but why on earth did this happen, what did I do wrong? and what should I say next time I see him, if anything?
Why do I seem to repel guys?
3 Opinion