Ok, what you need to do is, go into a car, find the driveseat/carseat/vehicleseat Now! Put in a script, this is the script.
local player
local MetersDriven = script.MetersDriven
script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild('Humanoid') then player = game.Players:GetPlayerFromCharacter(hit.Parent) end end)
while true do MetersDriven.Value = MetersDriven.Value + script.Parent.Velocity.Magnitude if MetersDriven.Value > 274 then MetersDriven.Value = 0 player.leaderstats.Cash.Value = player.leaderstats.Cash.Value + 94 player.leaderstats.Miles.Value = player.leaderstats.Miles.Value + 1 end wait(1) end Then add a IntValue onto this script.
Ok now, change the 94 to how much you want to earn. Change the 274 to how far you want to go before you hit a mile. I recommend 274 or higher for fast cars.
Ok, YOU NEED TO USE THIS LEADERSTATS SCRIPT!
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player
local Cash = Instance.new("IntValue")
Cash.Name = "Cash"
Cash.Value = 0
Cash.Parent = leaderstats
local Miles = Instance.new("IntValue")
Miles.Name = "Miles"
Miles.Value = 0
Miles.Parent = leaderstats
end)
Dont change anything in this script but put it in serverscriptservice. Also it needs to be called "leaderstats"
Enjoy!

7 comments
Either this is a bot or an ad
Self promoter
This website is not for promoting your skills
Only post a question if you have a question
report it
did that
I am a moderator and it is flagged