I can make one on a hint by doing something like
x = 50 if x >0 then x = x-1 else x = TIMES UP
I can make one on a hint by doing something like
x = 50 if x >0 then x = x-1 else x = TIMES UP
For a timer counting from 50 to 0. Here you go.
--Start counting.
for a=50,1,-1 do
--Some relayer here like gui.TextLabel.Text=a.." seconds left"
print(a)
wait(1)
end
--Some relayer here like gui.TextLabel.Text="0 seconds left"
print('0')
--What to do after timer hits.
a = 50
for i = 1, 50 do
wait(1) --How ever long, second minutes hours
a = a-1
script.Parent.TextLabel.Text = a
end
local x = 60
repeat
wait(1)
x = x - 1
script.Parent.Text = x
until x == 0
Put this into a script. Put the script inside a TextBox/TextButton, and the timer should appear on the GUI.
If you don't understand what he means : he means like a gui in a corner, side or so, that says how much time you have left, then once it says TIMES UP, you get teleported to lobby.
All of this except the teleportation part. Although that would be kind of nice...
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
This seems like all I need. I can do the rest, thank you!
Please give me an Up arrow. Thanks.