Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Countdwon Clock Surface GUI? [closed]

Asked by 10 years ago
for i = 5*60, 0, -1 do --Here is our four loop; This will begin it's time of 5*60, 5 minutes, or 250 seconds, will count down from -1, or down from 1, until identifier 'i' reaches 0; This will loop until 'i' reaches 0
2   print("Countdown:",i) --This will print into the Output; For each time 'i' goes down from '250', it will print the number into the Output; 'Countdown: 250', 'Countdown: 249', 'Countdown: 248', ect
3   wait(1) --This will wait 1 second before running the code again
4   end --This ends the code block for the 'for' loop

I have this, how do I make it apear on a Surface GUI?

Closed as Not Constructive by TheeDeathCaster and adark

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
-1
Answered by 10 years ago
local TimeBoard = game.Workspace["Time"].Timer.Frame.TextLabel
for i = 5*60, 0, -1 do
    TimeBoard.Text = "Countdown:" .. i
    print("Countdown:",i)
    wait(1)
    end

0
http://www.roblox.com/devSpeed-item?id=211835243 Full model if you can't figure out that script. harvest109 0 — 10y
Ad