Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How Would I Add A number to a Value?

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

1 answer

✓ Accepted answer

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.