I've been making a total click counter and for some reason when I test the game the click counter won't work and there will be an error stating
"Players.MLG_Gamer9876.PlayerGui.GUI.counter:3: attempt to perform arithmetic on field 'Text' (a string value)"
and I have no idea what that means, but here's the script...
local text = script.Parent.totalclicks
script.Parent.click.MouseButton1Click:Connect(function()
text.Text = "Total Clicks:"..text.Text + 1
end)

3 comments
memguy the number only goes up to 1 and then doesn't add up anymore
oh yeah my bad
fixed it