Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Basic Countdown doesn't always work?

Is there a way to reduce this, I have multiple countdowns in my minigame script and some of them don't work, I'm using a very basic script and I'm wondering if there was a way I could manipulate it to prevent crashing/bugging out. It can sometimes freeze the game when the countdowns get to one, here is an example of the one I'm using:

	for i = 30,1, -1 do 
	h.Text = "Intermission:" .. i 
	end

If you think you can help, or you see an error, please let me know. Thanks!

3 comments

0

Add a wait(1) after h.Text

0

Oh, how did I forget that one...Thanks, I guess I just have to pay more attention..

0

Don't need to add (1) it just makes it longer, just do wait() with nothing in it...

1 answer

✓ Accepted answer

If you fix the wait, that should work, as long as the h object always exists.

This discussion is preserved as it was. New answers, comments, and votes are closed.