I tried this script:
if script.Parent.Parent.Text1.Text == "2" then
while true do
repeat
seconds = seconds - 1
script.Parent.Text = tostring(seconds)
wait(1)
until seconds == 0
script.Parent.Text = tostring("Teleporting Players...")
wait(5)
seconds = 26
end
end
This code is put in a script that is in a text label that is in a surface gui, and in that surface gui are 3 more text labels. The one i want to specify is "Text1". When Text1 shows up "2" i want that countdown script happen.
Pls help!

1 comment
The Countdown starts without me doing anything (when I join the game it starts immediately).