I know it's really hard to do at first but what you need to do is have a plan. Your plan is to get rid of that toxic energy. If you truly want to get rid of it, cutting off friendships won't be hard.
Toxic people will mentally bring you down. they will bring you down so low that you feel worthless and not your self. Around them, you don't act yourself and you try to act or fit in with them. Being a baddie you don't have time to deal with this. And being a baddie you don't fit in you want to stand out.
If that toxic friend is popular and you feel like you HAVE to be friends with them, I'm telling you it's not worth it. Just drop them. There are plenty of people in this world. Being a baddie means being independent. Not saying friends are important cause they are but you don't NEED friends to be happy.