script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.MoneyValue.Value + 1
end)
that was what i had but i cant figure out how to add a number to this like Value + 1
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.MoneyValue.Value + 1
end)
that was what i had but i cant figure out how to add a number to this like Value + 1
You need to set the value to itself plus the amount you want to add:
value = value + amount
This discussion is preserved as it was. New answers, comments, and votes are closed.