I need to know how to make the player get more points instead of 1 after the player buys a upgrade. I only know how to make his get 1 point per click (Note: I am making a cookie clicker game) The normal script:
script.Parent.MouseButton1Click:connect(function(mouse) script.Parent.Parent.CookieValue.Value = script.Parent.Parent.CookieValue.Value + 1 end)
script.Parent.MouseButton1Click:connect(function(mouse) script.Parent.Parent.CookieValue.Value = script.Parent.Parent.CookieValue.Value + (Whatever value you want here) end)
I'm sorry, but what grade are you in maths?