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.

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

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

screenshot of StarterGui:

Timer is the text label

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.