Wasting my time

A guy I’ve liked for literally 2 years now and he has no clue, I feel like he’s the type of guy who knows he could have any girl and he kind of flirts with every girl in a way and leads on girls that flirt with him. I’m totally wasting my time bc I’m 17 and he just turned 20 so I know it really wouldn’t work but ugh this guy fucks with my emotions so bad. Sometimes it may seem like hes flirting and other times it’s like He barely looks at me. When I tell you he could have any girl he wants I mean it, he has a very outgoing charming personality and is easily a 10/10. No guy has ever liked me so I highly doubt this guy would like me. I just wish I could be less weird around him or get over him and not let him fuck with my emotions anymore.