Advertisement
BrinkerVII

Points or something

Oct 20th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2.     local leaderstats = Instance.new("IntValue")
  3.     leaderstats.Name =  "leaderstats"
  4.  
  5.     local points = Instance.new("IntValue")
  6.     points.Name = "Points"
  7.     points.Parent = leaderstats
  8.  
  9.     leaderstats.Parent = player
  10.  
  11.     spawn(function()
  12.         while wait(120) do
  13.             points.Value = points.Value + 1
  14.         end
  15.     end)
  16. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement