while true do
wait(0.1)
for _,plr in pairs(game.Players:GetChildren()) do
local stats = plr:FindFirstChild('leaderstats')
if stats then
stats.Money.Value = stats.Money.Value + 1
end
end
end
This is my script for giving 1 money per second, (for autoclicker gamepass)
but I cant figure out how to make it so it only does on gamepass AND because I am doing a clickers game, it doesnt just give you 1 money per second, it gives you how much your money per click gives.
can someone teach me how to make it so only if the player has gamepass? or if you can teach me how I can make the second one.
thanks
