For example like in Pet Simulator X when there is an update it tells you the Hours:Minutes:Seconds
I looked on the Dev Forum already and it was either really hard to set up each time there is a new update, it skips a number, or it just told you the date.
This is the script I have.
local UpdateStart = 1677286800 --epoch converter start
local UpdateStop = 1677286860 --epoch converter stop
function Event()
for _, player in pairs(game.Players:GetChildren()) do
if player:IsA("Player") then
game:GetService("BadgeService"):AwardBadge(player.UserId, 2141137108)
wait(0.5)
game:GetService("TeleportService"):Teleport(12324682821, player)
wait(1)
if player then
player:Kick("Update Rejoin!")
end
end
end
end
while wait(1) do
local timeNow = os.time()
workspace.UpdateBillboard.BillboardGui.TextLabel.Text = "Update starts in " .. (UpdateStart - timeNow) .. " seconds!"
--[[if timeNow >= Updatestop then
break
end]]
if timeNow >= UpdateStart then
Event()
break
elseif timeNow >= UpdateStop then
break
end
end
Thanks!