Advertisement
dubleeyrblxx

Points per min -- Roblox

Jul 7th, 2020 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. -- Points per min
  2. -- Put in ServerScriptService
  3.  
  4. game.Players.PlayerAdded:Connect(function(player)
  5.     local leaderstats = Instance.new("Folder")
  6.     leaderstats.Name = "leaderstats"
  7.     leaderstats.Parent = player
  8.    
  9.     local points = Instance.new("IntValue") -- After local change the name to whatever you want
  10.     points.Name = "points" -- Change the word in the "" to the second word on line 8
  11.     points.Value = 0
  12.     points.Parent = leaderstats
  13.    
  14.     while true do
  15.         points.Value = points.Value+5 -- how many points per min or the time you put in
  16.         wait(60) -- you can change how long til you get points in the ()
  17.     end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement