HI Developers, I have run into a bit of a problem with this bit of code. The text on my GUI wont update when my value counts up through the for loop. why is that happening?
Code:
local gui = game.StarterGui.LegPar.Legit.text
local val = game.ReplicatedStorage.Count.Value
while wait() do
for count = 1, 10, 1 do
wait(1)
val = count / 1
gui = “Timer: “… val …”!!!”
end
end
Thanks for replying! Have a great day!