Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local amount = 5 -- Change this to how much you want the player to have
- local timedelay = 4 -- Change this to how long you want the player to suffer and wait
- local currency = "Cash" -- Change this to the name of your currency
- while wait(timedelay) do -- An alternate is while true do and then the next line is wait(timedelay)
- for i, v in pairs(game.Players:GetPlayers()) do
- if v:FindFirstChild("leaderstats") then
- v.leaderstats[currency].Value = v.leaderstats[currency].Value + amount
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement