My guy bestfriend

Sophia
So me and my guy best friend have been friends for 5 years but for the past 2 years have been messing around.. He says he wants to be just friends but he will have sex with me even when he has a girlsfriend .. What does this mean? Im confused