Shoving other players?

Hello! I’m trying to add a mechanic where after looking at another player and pressing a button, said player is shoved in the direction you’re looking at.

Thanks in advance!

You can calculate the angle at which the other player is compared to your character, and push them towards the opposite angle when you press the button.