gui = game.StarterGui.ScreenGui
label = game.StarterGui.ScreenGui.TextLabel
val = label.important
val.Value = 2
while true do
label.Text = val.Value
val.Value = val.Value + 1
wait(1)
print(val.Value)
end
this is supposed to change the label text, but it doesnt. it prints all the numbers correctly, but how do i change the text. i've tried this exact code with a string value, and a number value.

1 comment
it doesnt work