Does he like me?

Alexandra
I like/love this guy and I have known him for a few years now. Often I catch him look/stare at me. Like twice every hour. (We are classmates). He admitted he had a crush on another girl but when I asked him about it he claimed he said it just to get people to stop asking him. I asked him if he liked me over text (I know LAME) he said "NOOOO" and " YOUR UGLY". After that we continued our usual conversations like nothing happened. Does he like me at something? Opinions?