Advertisement
Guest User

Lua Roblox Point Increase Script

a guest
Feb 13th, 2020
7,474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. -- script made by isibaby55
  2. amount = 1 -- How much points a person will get awarded
  3. timedelay = 2 -- how many seconds they have to stay in the game to get the points
  4. currencyname = "Points" -- Currency's Name
  5.  
  6. while true do
  7. wait(timedelay)
  8. for i, v in pairs (game.Players:GetPlayers()) do
  9. if v:FindFirstChild("leaderstats") and v then
  10. v.leaderstats[currencyname].Value = v.leaderstats[currencyname].Value + amount
  11. end
  12. end
  13. end
  14. -- Take it if you want to I don't really care if you take it :/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement