I'm trying to work out the Days in a Server Age script. Any ideas?
while true do
wait()
local seconds = math.floor(game.Workspace.DistributedGameTime)
local minutes = math.floor(game.Workspace.DistributedGameTime / 60)
local hours = math.floor(game.Workspace.DistributedGameTime / 60 / 60)
local days = math.floor()
local seconds = seconds - (minutes * 60)
local minutes = minutes - (hours * 60)
if hours < 1 then
if minutes < 1 then
script.Parent.Text = seconds.."second(s)"
else
script.Parent.Text = minutes.." minute(s) "..seconds.." second(s)"
if hours <24 then
end
end
else script.Parent.Text = hours.."hour(s), "..minutes.." minute(s), "..seconds.." second(s)"
end?

1 comment
I need one that has days on it