Need help scripting a Rocket Countdown Timer

Hey there, luckily I’ve done the same thing, here’s how I did it.



local var = 60
local above = 0 

function time1()
	var = var - 1
	script.Parent.Text = "Rocket Liftoff in: T - "..var
	wait(1)
	script.Parent.Value.Value = var
end

repeat
	time1()
until var == 0


while wait(1) do 
	if var == 0 then
		above = above + 1
		script.Parent.Text = "T + "..above
	end
end

Just have your UI set up so that you have a textlabel, then in the text label is a localscript. Have a StringValue in that TextLabel too, this should work. The variable “var” is how long you want your timer to be.

1 Like