I'm trying to make a surface GUI cookie clicker that keeps track of the number of times the cookie is clicked, but it says at zero, and I do not know about using number values, so thank you SO much if you can help.
local text = script.Parent.Parent.Clicks
local cookie = script.Parent
local value = 0
text.Text = value
cookie.MouseButton1Down:connect(function()
value = (value+1)
end)
I am a bit of a noob at scripting (this obviously shows it) so please go easy on me!

1 comment
No homo but I love you. Nobody seems to understand about using the deprecated connect.