So you want to limit players from getting close to eachother ?
If you like it to be more awesome and feel like something that magnetically/magiacally rejects you, you should set velocity on the player, in the opposite direction.
You'll need to get direction from player to protected player (NOT player's moving direction), and multiply it by the negative direction, clamp it so it doesn't shoot players like bullets nor be too weak.