How to make a rushing system?

You could use magnitude like I said in the post above you could use magnitude. Loop through the players and subtract the v’s (player) HumanoidRootPart’s position and the LocalPlayer’s position and get the magnitude from that.