hi um i need some1’s help with wats happening to me atm

Me and this girl are really close friends but she has a bf and he dont like me and i have feelings for her, and me and her see each other nearly every week and just recently he told her she isnt aloud to see me no more because i have feelings for her

i dunno wat to do i cant stand not being without her she makes me so happy but the thought of not seeing her is dreadful its so painful and not fair him keeping her all to himself because he feels threatened i dunno what to do can some1 give me any advice? plz

thank you