Still can't figure out no transfer fees

I am trying to fork SafeMoon with the updated pancakeswap router address. I have a 10% transaction fee split 3 ways. It uses the TakeFee function from SafeMoon. I want to have the fee on buys and sells but not on wallet to wallet transfers. FreezyEx gave me a line to try on a previous post but all I get are errors when trying to compile. Is there another token that doesn’t have transfer fees I can look at or can someone point me in the right direction. I am stumped.