amount = math.random(3, 7)
script.Parent.ClickDetector.MouseClick:connect(function(pl)
local ls = pl:findFirstChild("leaderstats") local g = ls:findFirstChild("Gold")
g.Value = g.Value + amount
end)
math.randomseed(tick()) script.Parent.ClickDetector.MouseClick:connect(function(pl) local amount = math.random(3, 7) local ls = pl:findFirstChild("leaderstats") local g = ls:findFirstChild("Gold") g.Value = g.Value + amount end)