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

How do I make a Clock GUI?

I tried this:

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

Please help me to make a clock GUI!!

1 answer

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

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