Best friend problems

I’ve fancied my best mate for 3 years and he gives me different signals. One min his all over me and the next his telling me to get lost. Is he really worth all my time?