How to make a Global Countdown Timer in Roblox Studio | TUTORIAL 2021

preview_player
Показать описание
0:35 - Change name part to CountdownTimer

Hey guys, in todays video I'm showing you Global Countdown Timer in Roblox Studio!

If You Enjoyed This Video, Remember To Leave A Like, Comment And Subscribe!
Рекомендации по теме
Комментарии
Автор

All those who think that this video is stolen, I will record another new guide about the same.

KacpiQ
Автор

For anyone who is wondering why it's time is acting strange it's because this guy stole the script from another youtuber, and that youtuber said they made a mistake, but this guy kept the mistake in, at the days section, remove the second 30.
If it still doesn't work, you didn't change the time. This video's time has it at the 3rd month, which is March, which passed a while ago.

CudjzikxmxR
Автор

the entire script:

local countdownGui = script.Parent
local countdownText =


local day = os.time({year = 2023, month = 8, day = 10, hour = 18, min = 0, sec = 0}) --Make sure you change the year, month, day, hour, min and sec!


while wait() do
local secondsBetween = os.difftime(day, os.time())

local seconds = secondsBetween % 60
local minutes = math.floor(secondsBetween % (60*60) / 60)
local hours = math.floor(secondsBetween % (60*60*24) / (60*60))
local days = math.floor(secondsBetween % (60*60*24*30) / (60*60*24))

local textString = days .. "d:" .. hours .. "h:" .. minutes .. "m:" .. seconds .. "s"
countdownText.Text = textString

if secondsBetween <= 0 then break end
end

--Make sure everything is named the same and you have the countdownGui set as the scripts parent! Good luck, Tueydo.

Tueydo
Автор

tut for screen gui timer
1. add screengui in starter gui and name it countdown
2.add 2 labels in countdown and script open a script and
3. rename first label in to CountdownText and send to bigupdate
4 open a script and paste this :
local countdownGui = script.Parent
local countdownText =


big.Text = "update:"



local day = os.time({year = 2022, month = 4, day = 24, hour = 10, min = 0, sec = 0})


while wait() do
local secondsBetween = os.difftime(day, os.time())

local seconds = secondsBetween % 60
local minutes = math.floor(secondsBetween % (60*60) / 60)
local hours = math.floor(secondsBetween % (60*60*24) / (60*60))
local days = math.floor(secondsBetween % (60*60*24*30) / (60*60*24))

local textString = days .. "d:" .. hours .. "h:" .. minutes .. "m:" .. seconds .. "s"
countdownText.Text = textString

if secondsBetween <= 0 then
countdownText.Text = "rejoin"
big = script.Parent.bigupdate
big.Text = "rejoin now "
wait(3000)
big.Visible = false
countdownText.Visible = false
break
end
end

itssloplayz
Автор

And how are you suppost to change the time?

Saibe
Автор

hey how did u put the text like the timer in there

Chainy
Автор

I did need to make one from scratch but this tutorial helped. Thanks!

whittyplayz
Автор

Day is staying 0 what do I need to do?

kittycorn
Автор

This counter doesn't work :/ could you update the video?

YT_YTStarL
Автор

thanks so i can finally add the countdown of event starting in my game

thespecificdev
Автор

thanks for the tutorial but how do i add more time? if i write my exacct time the countdown is 2h

TheCoolestConcreteWall
Автор

Bruh this is HowToRoblox's script. You didn't give any credit

Vurso
Автор

it wont work the timer just sits there not counting down

maxinumtww
Автор

This is a stolen model, it isnt yours. Even the script is stolen, this tutorial belongs to HowToRoblox. Delete this video or credit them in the title of the video.

Nawful
Автор

This Is The Script:
local countdownGui = script.Parent
local countdownText =


local day = os.time({year = 2023, month = 6, day = 15, hour = 14, min = 23, sec = 0})


local wait() do
local secondsBetween = os.difftime(day, os.time())

local seconds = secondsBetween % 60
local minutes = math.floor(secondsBetween % (60*60) / 60)
end

MikeyInfinity
Автор

can you make a global timer that goes up and not down

notariety
Автор

What does it say at the end of the timer

christophersworld
Автор

can u please make a video how to make the same countdown but when it is at 0d 0h 0m 0s and u leave it does not repeat the countdown

jacksteinertech
Автор

How do i make it with your own seconds minutes hours and days?

axelrq
Автор

Can u make a global timer that teloports everyone in the game to a certain game at a certain date and time

RealBoredPerson