Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Script not changing text properly?

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

Try:

labelGui.Text = stopWatchSeconds.." seconds"

2 comments

0

Still doesn't work.

0

Just to clarify, it doesn't give me any errors.

This discussion is preserved as it was. New answers, comments, and votes are closed.