i dont have an example sorry. im trying to make a currency type where you get certain amount of money every 1 mile you travel by car or walking but i dont understand so to start i would really appreciate it if someone could help me out with this.someone said i could use VVVVV but i dont know how to use that so it counts the amount of studs you traveled and give you a certain amount of money when you reach 1 mile. you do not have to make the script for me you can just maybe link me to stuff on wiki that might help me with this. TY
local dis = (oldPos-newPos).magnitude

3 comments
I would look at this. https://wiki.roblox.com/index.php?title=API:Class/IntValue experiment with it, and you can create a system similar to the one you're talking about.
it says There is currently no text in this page
Sorry all fixed ignore the "experiment" put the rest of the URL in.