top of page

Time Played Leaderboard:
game.Players.PlayerAdded:connect(function(p)
local stats = Instance.new("IntValue", p)
stats.Name = "leaderstats"
local money = Instance.new("IntValue", stats)
money.Name = "Time Played"
money.Value = 0
while true do
wait(1)
money.Value = money.Value + 1
end
end)
How to use script:
Add a script to ServerScriptService and then paste the code.
​
Your done!!
​
That's how easy it is!!!
bottom of page
