GUI.Button1.MouseButton1Click:connect(function() a = a + 1 script.Votingstatus1.Changed:connect(function() a = votingvalue1.Value print(votingvalue1.Value) end) end)
I've been trying to add a
to the string's Value
using a GUI button.
I'm pretty sure i'm doing this 100% wrong, but I would love some help.
local a = 0 --or 1 or 2 or etc. GUI.Button1.MouseButton1Click:connect(function() Votingstatus1 = a + 1 script.Votingstatus1.Changed:connect(function() a = votingvalue1.Value print(""..votingvalue1.Value.."")--I dunno if this is needed or not but just to be safe? end) end)
I don't know exactly what you're trying to do... :\