Answers for "how to make a script that gives cash every few seconds"

0

how to make a script that gives cash every few seconds

game.Players.PlayerAdded:connect(function(p)
local stats = Instance.new("IntValue", p)
stats.Name = "leaderstats"
local money = Instance.new("IntValue", stats)
money.Name = "Cash"
money.Value = 100 --Starter Cash
while true do
wait(5) --Replace "5" With The Seconds You Want The Script To Give money after.
money.Value = money.Value + 100
end
end) --Script By Rigby#9052 on Discord
Posted by: Guest on October-16-2020

Code answers related to "how to make a script that gives cash every few seconds"

Browse Popular Code Answers by Language