No output I want it to change its text to the money.Value and it won't work please help?
script.Parent.MouseButton1Click:connect(function()
local plr = script.Parent.Parent.Parent.Parent
local check1 = game.Players:FindFirstChild(plr)
if check1 then
local ls = check1:WaitForChild("leaderstats")
local Money = ls:WaitForChild("Money")
if Money then
Money.Value = Money.Value + 1
local Amount = game.Players.plr.PlayerGui.CaseClicker.Amount
Amount.Text = "Account Balance: "..Money.Value
end
end
wait(1)
end)
