Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
--Script in ServerScriptService local DataStoreService = game:GetService("DataStoreService") local countdownStore = DataStoreService:GetDataStore("GlobalCountdownStore") local countdownPart = workspace:WaitForChild("CountdownPart") local targetDate = os.time({ year = 2026, month = 1, day = 1, hour = 0, min = 0, sec = 0 }) local countdownEndTime = nil local function initializeCountdown() local success, storedEndTime = pcall(function() return countdownStore:GetAsync("endTime") end) if success and storedEndTime then countdownEndTime = storedEndTime else countdownEndTime = targetDate pcall(function() countdownStore:SetAsync("endTime", countdownEndTime) end) end end local function updateCountdown() local currentTime = os.time() local timeRemaining = countdownEndTime - currentTime timeRemaining = math.max(0, timeRemaining) for _, player in ipairs(game.Players:GetPlayers()) do game.ReplicatedStorage.CountdownEvent:FireClient(player, timeRemaining) end end initializeCountdown() while true do updateCountdown() wait(1) end
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)