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

How do I make a Clock GUI? [closed]

Asked by 9 years ago

I tried this:

while true do script.Parent.Text = "00:00:01" end

Please help me to make a clock GUI!!

Closed as Not Constructive by M39a9am3R, neoG457, NotSoNorm, and User#5978

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
0
Answered by 9 years ago

There is a property called TimeOfDay in game.Lighting, that is what you would use for making a Clock Gui. Here is a example.

while wait() do -- Constant loop
    script.Parent.Text = "Time: "..game.Lighting.TimeOfDay -- Change the text
end -- End the loop
Ad