It's About Time!

Showcasing some pretty simple medieval and ancient timekeeping devices, recreated in Roblox.

Sundial and Candle Clock video:

And yes, the candle clock doesn’t have a flame, but this isn’t a showcase of building, more of a showcase of concepts and coding. (the motto, Sine Sole Sileo, means, “Without the sun I am silent.” It’s a common sundial motto.)

Code behind them:

-- made by Ty_IsHomeSchooled

function sundial()
		game.Lighting.ClockTime += 0.05
	until math.floor(game.Lighting.ClockTime) == 18

function candleClock(beginTime, endTime)
	local wick = workspace.Candle.Wick
	local candle = workspace.Candle.Wax
	local TO_DIVIDE = ((endTime - beginTime)*60)--*60
	if TO_DIVIDE < 0 then
		print("Beginning time must be lower than ending time!")
	local increment = candle.Size.X/TO_DIVIDE
		candle.Size = - increment, 0.461, 0.359)
		wick.Size =, 0.25, 0.179)
		candle.Position =, candle.Position.Y - ((candle.Size.X - increment)/TO_DIVIDE), 2.891)
		wick.Position = candle.Position +, 0.1, 0)
		game.Lighting.ClockTime += (1/60)--/60
	until math.floor(game.Lighting.ClockTime) >= math.floor(endTime)
game.Lighting.ClockTime = 7
candleClock(7, 9)
-- remove the commented numbers for increments every second. Much slower

More videos coming soon, ideally with obsolete and current timekeeping devices.


Cool! keep up the good work :slight_smile:

1 Like

What exactly do you mean by this?

the old style clock in the beginning. or is it the candle clock?

The sundial? You just have to input every hour in Lighting.ClockTime until the shadow doesn’t cast, make and number parts to show the time, and then make a day/night script.

yeah that Sundial but the candle is the code in the vid right? Mind if i use it? :slight_smile: definitely credit tho

The sundial and candle is the code, and you can use it for free as long as you credit. If you notice, the function sundial() is very simple, but complex mathematical equations had to be done for the candle clock.

1 Like