Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(plr)
- local folder = Instance.new("Folder")
- folder.Name = "leaderstats"
- folder.Parent = plr
- local currency = Instance.new("IntValue")
- currency.Name = "Currency"
- currency.Parent = folder
- currency.Value = 0
- local timePlayed = Instance.new("IntValue")
- timePlayed.Name = "Time"
- timePlayed.Parent = folder
- timePlayed.Value = 0
- while wait(0) do
- timePlayed.Value = timePlayed.Value + 1
- wait(1)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement