I can do it with one player but not two or more.
You should post your code here.
Have you tried getting the direction away from one player, getting the direction away from the other player, and then finding the average direction or something like that?