Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Lighting = game:GetService("Lighting")
- local RunService = game:GetService("RunService")
- local Label = script.Parent
- RunService.PostSimulation:Connect(function()
- local CurrentTime = math.floor(Lighting.ClockTime)
- local Minutes = math.floor((Lighting.ClockTime % 1) * 60)
- Label.Text = string.format("Time: %02d:%02d", CurrentTime, Minutes)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement