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

How could you add a countdown GUI to this script(and does it work)?

numberB =1
while true do

Timer = 200
numberA = 1

while true do
wait(1)
Timer - 1

if numberA == 5 then
    break
if numberB == 5 then
    break

end
end

2 answers

✓ Accepted answer
numberB = 1
Timer = 200
numberA = 1

while true do
wait(1)
Timer = Timer - 1 -- what i did was instead of timer - 1 i did timer = timer - 1

if numberA == 5 then
    break
if numberB == 5 then
    break

end
end

2 comments

0

this wont fix it but it will help, i could completley fix it but im working right now.

0

Ok!

numberB = 1
Timer = 200
numberA = 1

for i = 1, 200 do
	wait(1)
	Timer == Timer - 1
	if numberA = 5 then
		break()
	end
	if numberB == 5 then
		break()
	end
end

1 comment

0

So this make two loops (With timer)

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