Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script not changing text properly?

Asked by 4 years ago

I'm creating a stopwatch, it's working, but it's supposed to change the text of the label to stopWatchSeconds.."seconds" but it only changes it to stopWatchSeconds instead of stopWatchSeconds.."seconds"

Here's my script:


local sGui = script.Parent local holderGui = sGui.Holder local labelGui = holderGui.Stopwatch local stopWatchSeconds = 0 while true do stopWatchSeconds = stopWatchSeconds + 0.1 labelGui.Text = tostring(stopWatchSeconds).." seconds" wait(0.1) end

1 answer

Log in to vote
0
Answered by 4 years ago

Try:

labelGui.Text = stopWatchSeconds.." seconds"
0
Still doesn't work. fxrtifyy 0 — 4y
0
Just to clarify, it doesn't give me any errors. fxrtifyy 0 — 4y
Ad

Answer this question