Get nearest player from another player


#1

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


#2

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