Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(player)
- local leaderstats = Instance.new("IntValue")
- leaderstats.Name = "leaderstats"
- local points = Instance.new("IntValue")
- points.Name = "Points"
- points.Parent = leaderstats
- leaderstats.Parent = player
- spawn(function()
- while wait(120) do
- points.Value = points.Value + 1
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement