I am sorry if I had hurt you. All the best
A person doesn't look smart and good with his look . A person lookS smart with his behavior . So, I think if you are smart and good and no want to talk to you, leave them. One day they will want to be friends with you.
First you must learn to like yourself, and then others will start too.
I'm sure guys like you. You may feel a little insecure but we all feel that way. But they probably do like you.