How can I track the players position and make a value increase the close they are to an object?

1 comment

0

https://developer.roblox.com/en-us/articles/Magnitude - you can use the sample code + an if statement that checks if the player is within some distance