I'm trying to work on something where players who are in a certain vicinity to the player will be pushed away according to their distance and position to the player. I've managed to figure out a very simple method of doing so, but it's not as effective as I think it could be and only pushes in four directions according to my player's direction. The image attached will hopefully explain it better than I have, but if anybody could lend me a hand, I'll greatly appreciate it.