"I think you're beautiful but I will beat you if you continue bragging about your looks" or "*insert name here*, you're pretty or whatever but you do too much and it makes you a little ugly"
oh dam ummmm u dont if u dont wanna hurt or not be her friend anymore, but if u really wanna tell her this is what I'd say, "look I luv u and ur the bests friend I could have and I would never wanna hurt ur feelings but it's so dam annoying when u brag thinking you are." Or "I luv u but Imma be honest ur not the prettiest girl in the world so pls stop bragging cause it's annoying the F8ck outta me." Something like that or just tell her it's annoying when she brags or dont