Back to Browse

HOW TO MAKE A LIVE COUNTDOWN | Roblox Studio Tutorial

49.8K views
Jul 16, 2023
5:15

In todays video I show you how to make a LIVE countdown, Live countdowns are a great thing to have in your game as it lets your players know when the next update is or when a major event is happening. I Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out! NEW!! IRL FloppyFish Merch Store: https://itz-floppyfish.creator-spring... Script: local targetDate = os.time({year=2023, month=7, day=22, hour=7, min=0, sec=0}) -- Change the date to when you want the countdown to end function updateCountdownDisplay() local Time = os.date("!*t", os.time() - 5* 60 * 60) -- Change - 5 to whatever your timezone is (EG. New York = - 5) local currentDate = os.time(Time) local secondsLeft = targetDate - currentDate local days = math.floor(secondsLeft / (24 * 60 * 60)) local hours = math.floor((secondsLeft % (24 * 60 * 60)) / (60 * 60)) local minutes = math.floor((secondsLeft % (60 * 60)) / 60) local seconds = math.floor(secondsLeft % 60) game.Workspace.CountdownPart.SurfaceGui.CountdownText.Text = string.format("%dd %02dh %02dm %02ds", days, hours, minutes, seconds) -- Change CountdownPart to whatever your part is called which has the Countdown on it end while true do updateCountdownDisplay() wait(1) end If you would like to support me even more, Super Thanks and becoming a Member is also another way to show your support! 🌟 Floppys Discord Server: https://discord.gg/Vq2msxnR95 🌟 Floppys Roblox Game : https://www.roblox.com/games/11301003... Roblox Studio Tutorial Roblox Studio Studio Tutorials

Download

0 formats

No download links available.

HOW TO MAKE A LIVE COUNTDOWN | Roblox Studio Tutorial | NatokHD