[OPEN SOURCE] 2022 New Years Firework/Countdown System

:wave: Howdy, It’s almost 2022 and it’s currently 2 AM for me, I was bored so I wanted to make something to kill off time, so I made a countdown/firework system for upcoming new years.

This is open-source, you can use it freely and put it in your game if you want some extra fun on the new years.

How it works: The local script inside it has a countdown until Jan 1st, once the clock hits midnight, the script will trigger fireworks to explode in the sky for around 2-5 mins (can be changed depending on your liking).

Have fun using it!

[ Place the files according to the name of the container ]

Countdown/Firework System 2022

46 Likes

Very fun! An excellent feature to games.

4 Likes

How do we set the time and for what time zone is it set to?

5 Likes

Bumping since I need this, but is there another alternative that uses the GMT +7 timezone (I need to use the WIB (Waktu Indonesia Barat, GMT +7) timezone). os.time uses UTC so is there another alternative I can use?

1 Like

If you want it at a fixed time, you can just edit the variable at the top and replace it with the year/month/day you want it to trigger at. :slightly_smiling_face:
image

2 Likes

This is based on your local time - UNIX set in your device, that way it can trigger according to your local time on your device and location for example.

Doesn’t the code run on the server? It would use the server’s timezone?

EDIT: Managed to get it to WIB GMT +7

local TimeUntilNewYear = os.time({ year = 2021, month = 12, day = 31, hour = 17 })

HINT: fill hour with (24 - [timezone diff between yours and UTC])
for WIB GMT +7:
(24 - 7)

2 Likes

Yeah, I forgot about that, but you can convert it into a LocalScript and it would then run locally based on the player’s device-time.

[UPDATED; USE THE NEW FIREWORKS IN TOOLBOX] I have updated the fireworks system to be based locally, I somehow forgot that it’s actually based on the server’s time (aka where ever the server is running), use the new updated one in the toolbox and replace it with that.

Place the files accordingly, sorry for the inconvenience.

1 Like


Technically too late but I used my own workaround so yeah, thanks for the countdown system!

1 Like

No problem, glad you liked it!

1 Like

How would go about making multiple timers? (I’m not very good with scripts)

Hey, speaking of, I’m not very good with time stuff when it comes to scripting. How would i make this work? Because my timer in studio has already reached 0, even though it’s not new year for me yet.

I would like to make the timer to countdown to the device time, like from what i quoted here.

1 Like

Now it worked but yea, new year is over but I am surely gonna use it for something else!
And a suggestion:

Make another copy and add something like when timer reachs 00:00:00:00, a door opens. I need to make a live event thing.

1 Like

I will update the file again soon! That way it can be used for other live-events you might want to host. Glad you liked it. :smile:

1 Like

@3Debug

Since this is 2022 and I’m late, should I make using this kit but countdown is until 2023?