How do I make this number go down every second on a text label?

title, I know this is probably incredibly simple, but I’m new to for loops, so sorry in advance if my code is crap so far.
script:

local text = script.Parent
local number = script.Parent:WaitForChild("Number")

for count = 600, 1, -1 do
	print(count)
	number.Value = tonumber(count)
	text.Text = number.Value
end

screenshot of StarterGui:


Timer is the text label
PLEASE HELP

add a task.wait(1) inside of your loop.

1 Like

Thank you, im mentally insane, how did i forget about it

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.