Get nearest player from another player

How i can get the nearest player of a player ? It’s usefull for cuff etc …
Someone have an idea ? Thanks.

GetDistanceBetweenCoords or similar to that sounds like what you are looking for. I also recommend math.floor it so you don’t have all the decimal places