Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
SoundService = :()
CoreGui = :()
LocalPlayer = Players.LocalPlayer
parentGui =
(()
gethui
parentGui = ()
)
parentGui
parentGui = CoreGui
parentGui LocalPlayer
parentGui = LocalPlayer:() LocalPlayer:(, )
parentGui
(()
oldGui = parentGui:()
oldGui
oldGui:()
_, name ({, , , })
oldSnd = SoundService:(name)
oldSnd
oldSnd:()
cam = .CurrentCamera
cam
oldDisco = cam:()
oldDisco oldDisco:()
oldBloom = cam:()
oldBloom oldBloom:()
)
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.IgnoreGuiInset =
ScreenGui.ClipToDeviceSafeArea =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = parentGui
DripLayer = .()
DripLayer.Name =
DripLayer.Size = .(, )
DripLayer.BackgroundTransparency =
DripLayer.BorderSizePixel =
DripLayer.ZIndex =
DripLayer.Parent = ScreenGui
PartyLayer = .()
PartyLayer.Name =
PartyLayer.Size = .(, )
PartyLayer.BackgroundTransparency =
PartyLayer.BorderSizePixel =
PartyLayer.ZIndex =
PartyLayer.Parent = ScreenGui
BASE_WIDTH =
BASE_HEIGHT =
MIN_WIDTH =
MIN_HEIGHT =
MAX_WIDTH =
MAX_HEIGHT =
TIMER_FONT = .Font.Oswald
CELEBRATION_DURATION_SECONDS =
HIGH_SPEED_VALUE =
SPACE_LAUNCH_UP_SPEED =
SPACE_FLY_SPEED =
ICE_FRICTION_DAMPING =
ICE_THROW_BOOST =
ICE_MAX_THROW_SPEED =
TICK_SOUND_IDS = {
,
,
}
FIRE_SOUND_IDS = {
,
,
}
HORN_SOUND_IDS = {
,
}
ULTRA_SIREN_SOUND_IDS = {
,
,
}
TickSound = .()
TickSound.Name =
TickSound.SoundId = TICK_SOUND_IDS[]
TickSound.Volume =
TickSound.PlaybackSpeed =
TickSound.Looped =
TickSound.Parent = SoundService
FireSound = .()
FireSound.Name =
FireSound.SoundId = FIRE_SOUND_IDS[]
FireSound.Volume =
FireSound.PlaybackSpeed =
FireSound.Looped =
FireSound.Parent = SoundService
HornSound = .()
HornSound.Name =
HornSound.SoundId = HORN_SOUND_IDS[]
HornSound.Volume =
HornSound.PlaybackSpeed =
HornSound.Looped =
HornSound.Parent = SoundService
UltraLoudSiren = .()
UltraLoudSiren.Name =
UltraLoudSiren.SoundId = ULTRA_SIREN_SOUND_IDS[]
UltraLoudSiren.Volume =
UltraLoudSiren.PlaybackSpeed =
UltraLoudSiren.Looped =
UltraLoudSiren.Parent = SoundService
(speedBoost)
(()
UltraLoudSiren UltraLoudSiren.Parent
UltraLoudSiren.Volume =
UltraLoudSiren.PlaybackSpeed = speedBoost ( + .() * )
UltraLoudSiren:()
)
ShadowGroup = .()
ShadowGroup.Name =
ShadowGroup.Size = .(, BASE_WIDTH, , BASE_HEIGHT)
ShadowGroup.Position = .(, -BASE_WIDTH * , , )
ShadowGroup.BackgroundTransparency =
ShadowGroup.BorderSizePixel =
ShadowGroup.ZIndex =
ShadowGroup.Parent = ScreenGui
ShadowScale = .()
ShadowScale.Scale =
ShadowScale.Parent = ShadowGroup
shadowLayers = {}
layerConfigs = {
{, , .(, , ), , , },
{, , .(, , ), , , },
{, , .(, , ), , , },
{, , .(, , ), , , },
}
idx, cfg (layerConfigs)
layer = .()
layer.Name = .. idx
layer.AnchorPoint = .(, )
layer.Position = .(, )
layer.Size = .(, cfg[], , cfg[])
layer.BackgroundColor3 = cfg[]
layer.BackgroundTransparency = cfg[]
layer.BorderSizePixel =
layer.ZIndex =
layer.Parent = ShadowGroup
corner = .()
corner.CornerRadius = .(, cfg[])
corner.Parent = layer
grad = .()
grad.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
grad.Transparency = NumberSequence.{
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, )
}
grad.Parent = layer
.(shadowLayers, {
frame = layer,
grad = grad,
spread = cfg[],
idleTrans = cfg[],
activeTrans = cfg[],
pulseAmp = cfg[],
phase = idx *
})
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, BASE_WIDTH, , BASE_HEIGHT)
MainFrame.Position = .(, -BASE_WIDTH * , , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BackgroundTransparency =
MainFrame.BorderSizePixel =
MainFrame.Active =
MainFrame.ZIndex =
MainFrame.Parent = ScreenGui
FrameScale = .()
FrameScale.Scale =
FrameScale.Parent = MainFrame
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = MainFrame
TrueGoldGradient = .()
TrueGoldGradient.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
TrueGoldGradient.Rotation =
TrueGoldGradient.Parent = MainFrame
GoldGleamOverlay = .()
GoldGleamOverlay.Name =
GoldGleamOverlay.Size = .(, )
GoldGleamOverlay.BackgroundColor3 = .(, , )
GoldGleamOverlay.BackgroundTransparency =
GoldGleamOverlay.BorderSizePixel =
GoldGleamOverlay.ZIndex =
GoldGleamOverlay.Parent = MainFrame
GleamCorner = .()
GleamCorner.CornerRadius = .(, )
GleamCorner.Parent = GoldGleamOverlay
GleamGradient = .()
GleamGradient.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
GleamGradient.Transparency = NumberSequence.{
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, )
}
GleamGradient.Parent = GoldGleamOverlay
UIStroke = .()
UIStroke.Thickness =
UIStroke.Color = .(, , )
UIStroke.Parent = MainFrame
UIGradient = .()
UIGradient.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
UIGradient.Parent = UIStroke
(label, maxTextSize, minTextSize)
label.TextColor3 = .(, , )
label.TextStrokeColor3 = .(, , )
label.TextStrokeTransparency =
textGrad = .()
textGrad.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
textGrad.Offset = .(-, )
textGrad.Parent = label
textStroke = .()
textStroke.Thickness =
textStroke.Color = .(, , )
textStroke.Transparency =
textStroke.Parent = label
strokeGrad = .()
strokeGrad.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
strokeGrad.Parent = textStroke
constraint = .()
constraint.MaxTextSize = maxTextSize
constraint.MinTextSize = minTextSize
constraint.Parent = label
textGrad, textStroke, strokeGrad
TitleLabel = .()
TitleLabel.Name =
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Text =
TitleLabel.TextSize =
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.TextScaled =
TitleLabel.ZIndex =
TitleLabel.Parent = MainFrame
titleGrad, titleStroke, titleStrokeGrad = (TitleLabel, , )
CloseBtn = .()
CloseBtn.Name =
CloseBtn.Size = .(, , , )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.Text =
CloseBtn.TextColor3 = .(, , )
CloseBtn.TextSize =
CloseBtn.Font = .Font.GothamBold
CloseBtn.TextScaled =
CloseBtn.ZIndex =
CloseBtn.Parent = MainFrame
BtnCorner = .()
BtnCorner.CornerRadius = .(, )
BtnCorner.Parent = CloseBtn
Divider = .()
Divider.Size = .(, , , )
Divider.Position = .(, , , )
Divider.BackgroundColor3 = .(, , )
Divider.BackgroundTransparency =
Divider.BorderSizePixel =
Divider.ZIndex =
Divider.Parent = MainFrame
TimerLabel = .()
TimerLabel.Name =
TimerLabel.Size = .(, -, , )
TimerLabel.Position = .(, , , )
TimerLabel.BackgroundTransparency =
TimerLabel.Text =
TimerLabel.TextSize =
TimerLabel.Font = TIMER_FONT
TimerLabel.TextScaled =
TimerLabel.ZIndex =
TimerLabel.Parent = MainFrame
(()
TimerLabel.TextSkewX = -
)
timerGrad, timerStroke, timerStrokeGrad = (TimerLabel, , )
timerStroke.Thickness =
originalWalkSpeed =
partyToolsGiven = {}
isSpaceFlightActive =
flyBv =
flyBg =
lastDeviceVibrateClock =
danceActive =
disabledAnimateScript =
()
LocalPlayer LocalPlayer.Character ,
char = LocalPlayer.Character
char:(), char:()
(enabled, hum)
char = LocalPlayer LocalPlayer.Character
enabled
danceActive
danceActive =
char
animScript = char:()
animScript animScript:() animScript.Enabled
disabledAnimateScript = animScript
animScript.Enabled =
hum
(()
animator = hum:()
animator
_, track (animator:())
track:()
)
danceActive
danceActive =
disabledAnimateScript disabledAnimateScript.Parent
(()
disabledAnimateScript.Enabled =
)
disabledAnimateScript =
char
_, desc (char:())
desc:()
(()
desc.Transform = .identity
)
(clockNow, hum)
char = LocalPlayer LocalPlayer.Character
char hum
(, hum)
beat = clockNow *
bounceY = .(.(beat)) *
swayX = .(beat * ) *
twistY = .(beat) *
armWaveL = .(beat) * -
armWaveR = .(beat) * -
legKickL = .(beat) *
legKickR = -.(beat) *
(jointName, cf)
joint = char:(jointName, )
joint joint:()
joint.Transform = cf
hum.RigType == .HumanoidRigType.R6
(, .(swayX, bounceY, ) * .(, twistY, .(beat * ) * ))
(, .(, , ) * .(armWaveL, , -))
(, .(, , ) * .(armWaveR, , ))
(, .(, , ) * .(legKickL, , -))
(, .(, , ) * .(legKickR, , ))
(, .(, , ) * .(.(beat * ) * , -twistY * , .(beat) * ))
(, .(swayX, bounceY, ) * .(, twistY, .(beat * ) * ))
(, .(, , ) * .(.(beat * ) * , twistY * , .(beat) * ))
(, .(, , ) * .(armWaveL, , -))
(, .(, , ) * .(armWaveR, , ))
(, .(, , ) * .(legKickL * , , ))
(, .(, , ) * .(legKickR * , , ))
(, .(, , ) * .(.(beat * ) * , -twistY * , ))
discoColorEffect =
discoBloomEffect =
discoColors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
}
bounceOffset = .zero
bounceOffsetVel = .zero
bounceRot =
bounceRotVel =
bounceScale =
bounceScaleVel =
bounceStretchX =
bounceStretchXVel =
partySparks = {}
partyColors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
}
(enabled)
cam = .CurrentCamera
cam
enabled
discoColorEffect
discoColorEffect = .()
discoColorEffect.Name =
discoColorEffect.Saturation =
discoColorEffect.Contrast =
discoColorEffect.Parent = cam
discoBloomEffect
discoBloomEffect = .()
discoBloomEffect.Name =
discoBloomEffect.Intensity =
discoBloomEffect.Size =
discoBloomEffect.Threshold =
discoBloomEffect.Parent = cam
discoColorEffect discoColorEffect:(); discoColorEffect =
discoBloomEffect discoBloomEffect:(); discoBloomEffect =
(clockNow)
()
idx = (.(clockNow * ) % #discoColors) +
nextIdx = (idx % #discoColors) +
alpha = (clockNow * ) %
blended = discoColors[idx]:(discoColors[nextIdx], alpha)
discoColorEffect
discoColorEffect.TintColor = blended
discoColorEffect.Saturation = + .(clockNow * ) *
discoColorEffect.Contrast = + .(.(clockNow * )) *
discoBloomEffect
discoBloomEffect.Intensity = + .(.(clockNow * )) *
()
now = .()
now - lastDeviceVibrateClock <
lastDeviceVibrateClock = now
(()
(vibrate) ==
()
)
(enabled)
hum, root = ()
isSpaceFlightActive = enabled
isSpaceFlightActive hum root
hum.PlatformStand =
flyBv
flyBv = .()
flyBv.Name =
flyBv.MaxForce = .(, , )
flyBv.Velocity = .(, SPACE_LAUNCH_UP_SPEED, )
flyBv.Parent = root
flyBg
flyBg = .()
flyBg.Name =
flyBg.MaxTorque = .(, , )
flyBg.P =
flyBg.CFrame = root.CFrame
flyBg.Parent = root
flyBv flyBv:(); flyBv =
flyBg flyBg:(); flyBg =
hum hum.PlatformStand
hum.PlatformStand =
(name, color3, burstSize)
tool = .()
tool.Name = name
tool.RequiresHandle =
handle = .()
handle.Name =
handle.Size = .(, , )
handle.Color = color3
handle.Material = .Material.Neon
handle.CanCollide =
handle.Parent = tool
tool.Activated:(()
()
(()
HornSound.SoundId = HORN_SOUND_IDS[.(, #HORN_SOUND_IDS)]
HornSound.PlaybackSpeed = + .() *
HornSound:()
)
_, root = ()
root
burst = .()
burst.Shape = .PartType.Ball
burst.Material = .Material.Neon
burst.Color = color3
burst.Size = .(, , )
burst.Anchored =
burst.CanCollide =
burst.CFrame = root.CFrame * .(, , -)
burst.Parent =
.(()
i = ,
burst.Size = .(, , ) * ( + i * (burstSize * ))
burst.Transparency = i /
.()
burst:()
)
)
tool
()
backpack = LocalPlayer LocalPlayer:()
backpack #partyToolsGiven ==
t1 = (, .(, , ), )
t2 = (, .(, , ), )
t3 = (, .(, , ), )
t1.Parent = backpack
t2.Parent = backpack
t3.Parent = backpack
.(partyToolsGiven, t1)
.(partyToolsGiven, t2)
.(partyToolsGiven, t3)
(multiplier)
mult = multiplier
#partySparks >=
absPos = MainFrame.AbsolutePosition
absSize = MainFrame.AbsoluteSize
burstClusters = .(mult, , )
_ = , burstClusters
#partySparks >=
centerX = absPos.X + (.(-, )) + absSize.X *
centerY = absPos.Y + (.(-, )) + absSize.Y *
count = .(, )
_ = , count
#partySparks >=
angle = .() * .pi *
speed = .(, )
sz = .(, )
col = partyColors[.(, #partyColors)]
spark = .()
spark.AnchorPoint = .(, )
spark.Position = .(centerX, centerY)
spark.Size = .(sz, sz)
spark.BackgroundColor3 = col
spark.BackgroundTransparency =
spark.BorderSizePixel =
spark.ZIndex =
spark.Parent = PartyLayer
cr = .()
cr.CornerRadius = .(, )
cr.Parent = spark
.(partySparks, {
frame = spark,
x = centerX,
y = centerY,
vx = .(angle) * speed,
vy = .(angle) * speed - ,
age = ,
maxAge = .(, ) /
})
()
.(()
burstIdx = ,
ScreenGui.Parent
col = partyColors[((burstIdx - ) % #partyColors) + ]
bounceScaleVel += (burstIdx == )
bounceRotVel += (burstIdx % == -) *
()
()
( + (burstIdx * ))
(()
FireSound FireSound.Parent
FireSound.SoundId = FIRE_SOUND_IDS[((burstIdx - ) % #FIRE_SOUND_IDS) + ]
FireSound.PlaybackSpeed = + (burstIdx * )
FireSound:()
)
_, root = ()
root
ring = .()
ring.Name = .. burstIdx
ring.Shape = .PartType.Ball
ring.Material = .Material.Neon
ring.Color = col
ring.Size = .(, , )
ring.Anchored =
ring.CanCollide =
ring.CFrame = root.CFrame
ring.Parent =
maxRadius = + (burstIdx * )
step = ,
ring.Parent
t = step /
ring.Size = .(, , ) + .(maxRadius * t, maxRadius * t, maxRadius * t)
ring.Transparency = .(t ^ , , )
.()
(() ring:() )
burstIdx <
.()
)
(withFiveBursts)
()
()
hum = ()
(, hum)
hum originalWalkSpeed ~=
hum.WalkSpeed = originalWalkSpeed
originalWalkSpeed =
_, tool (partyToolsGiven)
(()
tool tool.Parent
tool:()
)
partyToolsGiven = {}
withFiveBursts
()
CloseBtn.MouseButton1Click:(()
()
(()
_, snd ({TickSound, FireSound, HornSound, UltraLoudSiren})
snd snd:()
ScreenGui:()
)
)
CORNER_HIT_SIZE =
dragging =
resizing =
activeCorner =
activeInput =
dragStartPos = .zero
lastDragClock =
iceSlideVel = .zero
currentPosOffset = .(MainFrame.Position.X.Offset, MainFrame.Position.Y.Offset)
currentPosScale = .(MainFrame.Position.X.Scale, MainFrame.Position.Y.Scale)
targetPosOffset = currentPosOffset
currentWidth = BASE_WIDTH
currentHeight = BASE_HEIGHT
(screenPos)
absPos = MainFrame.AbsolutePosition
absSize = MainFrame.AbsoluteSize
left = absPos.X
right = absPos.X + absSize.X
top = absPos.Y
bottom = absPos.Y + absSize.Y
nearLeft = .(screenPos.X - left) <= CORNER_HIT_SIZE
nearRight = .(screenPos.X - right) <= CORNER_HIT_SIZE
nearTop = .(screenPos.Y - top) <= CORNER_HIT_SIZE
nearBottom = .(screenPos.Y - bottom) <= CORNER_HIT_SIZE
nearTop nearLeft
nearTop nearRight
nearBottom nearLeft
nearBottom nearRight
(delta)
resizing
bounceOffsetVel += .(delta.X * , delta.Y * )
bounceRotVel += .(delta.X * , -, )
dirRatioX = (.(delta.X) - .(delta.Y))
bounceStretchXVel += .(dirRatioX * , -, )
bounceScaleVel += .(delta.Magnitude * , -, )
MainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
pos2 = .(input.Position.X, input.Position.Y)
corner = (pos2)
activeInput = input
dragStartPos = pos2
lastDragClock = .()
iceSlideVel = .zero
corner
resizing =
dragging =
activeCorner = corner
dragging =
resizing =
activeCorner =
bounceScaleVel +=
input.Changed:(()
input.UserInputState == .UserInputState.End input == activeInput
dragging
bounceOffsetVel += bounceOffset * + (iceSlideVel * )
dragging =
resizing =
activeCorner =
activeInput =
)
)
UserInputService.InputChanged:((input)
activeInput input ~= activeInput
input.UserInputType ~= .UserInputType.MouseMovement input.UserInputType ~= .UserInputType.Touch
now = .()
dtDrag = .(now - lastDragClock, / )
lastDragClock = now
pos2 = .(input.Position.X, input.Position.Y)
delta = pos2 - dragStartPos
dragStartPos = pos2
resizing activeCorner
dx = delta.X
dy = delta.Y
newW = currentWidth
newH = currentHeight
posShiftX =
posShiftY =
activeCorner ==
newW = .(currentWidth + dx, MIN_WIDTH, MAX_WIDTH)
newH = .(currentHeight + dy, MIN_HEIGHT, MAX_HEIGHT)
activeCorner ==
newW = .(currentWidth - dx, MIN_WIDTH, MAX_WIDTH)
newH = .(currentHeight + dy, MIN_HEIGHT, MAX_HEIGHT)
posShiftX = currentWidth - newW
activeCorner ==
newW = .(currentWidth + dx, MIN_WIDTH, MAX_WIDTH)
newH = .(currentHeight - dy, MIN_HEIGHT, MAX_HEIGHT)
posShiftY = currentHeight - newH
activeCorner ==
newW = .(currentWidth - dx, MIN_WIDTH, MAX_WIDTH)
newH = .(currentHeight - dy, MIN_HEIGHT, MAX_HEIGHT)
posShiftX = currentWidth - newW
posShiftY = currentHeight - newH
currentWidth = newW
currentHeight = newH
targetPosOffset += .(posShiftX, posShiftY)
currentPosOffset = targetPosOffset
MainFrame.Size = .(, currentWidth, , currentHeight)
MainFrame.Position = .(currentPosScale.X, currentPosOffset.X, currentPosScale.Y, currentPosOffset.Y)
dragging
targetPosOffset += delta
currentPosOffset = targetPosOffset
instVel = (delta / dtDrag) * ICE_THROW_BOOST
instVel.Magnitude > ICE_MAX_THROW_SPEED
instVel = instVel.Unit * ICE_MAX_THROW_SPEED
iceSlideVel = iceSlideVel:(instVel, )
(delta)
)
activeDrips = {}
dripSpawnTimer =
()
#activeDrips >=
absPos = MainFrame.AbsolutePosition
absSize = MainFrame.AbsoluteSize
margin = .(, absSize.X * )
startX = absPos.X + margin + (.() * .(, absSize.X - margin * ))
startY = absPos.Y + absSize.Y -
dripWidth = .(, )
drip = .()
drip.Name =
drip.AnchorPoint = .(, )
drip.Position = .(startX, startY)
drip.Size = .(dripWidth, dripWidth)
drip.BackgroundColor3 = .(, , )
drip.BackgroundTransparency =
drip.BorderSizePixel =
drip.ZIndex =
drip.Parent = DripLayer
corner = .()
corner.CornerRadius = .(, )
corner.Parent = drip
grad = .()
grad.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
grad.Rotation =
grad.Parent = drip
.(activeDrips, {
frame = drip,
x = startX,
y = startY,
baseWidth = dripWidth,
vy = .(, ),
length = dripWidth,
maxLength = .(, ),
age = ,
maxAge = .(, ) /
})
partySparkTimer =
UTC_OFFSET_SECONDS =
YEAR_THEMES = {
{
base = .(, , ),
c0 = .(, , ),
c1 = .(, , ),
c2 = .(, , ),
c3 = .(, , ),
},
{
base = .(, , ),
c0 = .(, , ),
c1 = .(, , ),
c2 = .(, , ),
c3 = .(, , ),
},
{
base = .(, , ),
c0 = .(, , ),
c1 = .(, , ),
c2 = .(, , ),
c3 = .(, , ),
},
}
(targetYear)
theme = YEAR_THEMES[((targetYear - ) % #YEAR_THEMES) + ]
MainFrame.BackgroundColor3 = theme.base
TrueGoldGradient.Color = ColorSequence.{
ColorSequenceKeypoint.(, theme.c0),
ColorSequenceKeypoint.(, theme.c1),
ColorSequenceKeypoint.(, theme.c2),
ColorSequenceKeypoint.(, theme.c3),
ColorSequenceKeypoint.(, theme.c0)
}
TitleLabel.Text = .(, targetYear)
bounceScaleVel +=
()
utcTable = .()
utcTable, .(utcTable)
(utcTable)
currentYear = utcTable.year
nextYear = (currentYear < ) (currentYear + )
targetTs = .({
year = nextYear,
month = ,
day = ,
hour = ,
min = ,
sec =
}) - UTC_OFFSET_SECONDS
nextYear, targetTs
initialUtcTable, _ = ()
activeTargetYear, targetUtcTimestamp = (initialUtcTable)
(activeTargetYear)
rotation =
gleamRotation = -
textSweepPhase =
lastPos = MainFrame.AbsolutePosition
shakeIntensity =
lastTickSecond =
celebrationStartClock =
celebrationUntil =
wasCelebrating =
fireSoundTimer =
hornSoundTimer =
sirenSoundTimer =
fireSoundIndex =
hornSoundIndex =
sirenSoundIndex =
()
nowClock = .()
celebrationStartClock = nowClock
celebrationUntil = nowClock + CELEBRATION_DURATION_SECONDS
fireSoundTimer =
hornSoundTimer =
sirenSoundTimer =
partySparkTimer =
bounceScaleVel +=
()
()
()
hum = ()
(, hum)
()
hum originalWalkSpeed ==
originalWalkSpeed = hum.WalkSpeed
(()
HornSound HornSound.Parent
HornSound.SoundId = HORN_SOUND_IDS[hornSoundIndex]
hornSoundIndex = (hornSoundIndex % #HORN_SOUND_IDS) +
HornSound:()
)
RunService.Stepped:(()
ScreenGui.Parent
danceActive
hum = ()
hum
(.(), hum)
)
RunService.RenderStepped:((dt)
ScreenGui.Parent
clampedDt = .(dt, )
clockNow = .()
utcTable, nowUtc = ()
diff = targetUtcTimestamp - nowUtc
dragging resizing iceSlideVel.Magnitude >
targetPosOffset += iceSlideVel * clampedDt
currentPosOffset = targetPosOffset
iceSlideVel = iceSlideVel * .(-ICE_FRICTION_DAMPING * clampedDt)
viewSize = ScreenGui.AbsoluteSize
viewSize.X > viewSize.Y >
baseX = viewSize.X * currentPosScale.X
baseY = viewSize.Y * currentPosScale.Y
minX = -baseX +
maxX = viewSize.X - baseX - currentWidth -
minY = -baseY +
maxY = viewSize.Y - baseY - currentHeight -
currentPosOffset.X < minX
currentPosOffset = .(minX, currentPosOffset.Y)
targetPosOffset = currentPosOffset
iceSlideVel = .(-iceSlideVel.X * , iceSlideVel.Y)
bounceRotVel +=
currentPosOffset.X > maxX
currentPosOffset = .(maxX, currentPosOffset.Y)
targetPosOffset = currentPosOffset
iceSlideVel = .(-iceSlideVel.X * , iceSlideVel.Y)
bounceRotVel -=
currentPosOffset.Y < minY
currentPosOffset = .(currentPosOffset.X, minY)
targetPosOffset = currentPosOffset
iceSlideVel = .(iceSlideVel.X, -iceSlideVel.Y * )
bounceScaleVel +=
currentPosOffset.Y > maxY
currentPosOffset = .(currentPosOffset.X, maxY)
targetPosOffset = currentPosOffset
iceSlideVel = .(iceSlideVel.X, -iceSlideVel.Y * )
bounceScaleVel +=
isCelebrating =
diff <=
celebrationUntil ==
()
clockNow < celebrationUntil
isCelebrating =
celebrationUntil =
activeTargetYear, targetUtcTimestamp = (utcTable)
(activeTargetYear)
diff = .(, targetUtcTimestamp - nowUtc)
celebrationUntil >
clockNow < celebrationUntil
isCelebrating =
celebrationUntil =
wasCelebrating isCelebrating
()
wasCelebrating = isCelebrating
elapsedParty = isCelebrating (clockNow - celebrationStartClock)
partyShakeVec = .zero
partyRot =
statusText =
isCelebrating
hum, root = ()
cam = .CurrentCamera
hum
(clockNow, hum)
cam
elapsedParty <
()
cam.CFrame = cam.CFrame * .(
(.() - ) * ,
(.() - ) * ,
(.() - ) *
) * .(
.(clockNow * ) * ,
.(clockNow * ) * ,
.(clockNow * ) *
)
statusText =
(clockNow)
root
spinSpeed = (elapsedParty < )
root.CFrame = root.CFrame * .(, spinSpeed * clampedDt, )
hum
elapsedParty >=
hum.WalkSpeed = HIGH_SPEED_VALUE
originalWalkSpeed
hum.WalkSpeed = .(originalWalkSpeed, )
elapsedParty >=
isSpaceFlightActive
()
hum root cam flyBv flyBg
moveDir = .(, SPACE_LAUNCH_UP_SPEED, )
userInputDir = .zero
UserInputService:(.KeyCode.W) userInputDir += cam.CFrame.LookVector
UserInputService:(.KeyCode.S) userInputDir -= cam.CFrame.LookVector
UserInputService:(.KeyCode.A) userInputDir -= cam.CFrame.RightVector
UserInputService:(.KeyCode.D) userInputDir += cam.CFrame.RightVector
UserInputService:(.KeyCode.Space) userInputDir += .(, , )
UserInputService:(.KeyCode.LeftControl) userInputDir -= .(, , )
userInputDir.Magnitude >
moveDir = userInputDir.Unit * SPACE_FLY_SPEED
flyBv.Velocity = moveDir
flyBg.CFrame = root.CFrame * .(, * clampedDt, )
statusText
elapsedParty <
statusText =
elapsedParty <
statusText = .(, HIGH_SPEED_VALUE)
elapsedParty <
statusText =
statusText =
elapsedParty >=
()
partyShakeVec = .(
.(clockNow * ) * ,
.(clockNow * ) *
)
partyRot = .(clockNow * ) *
partyShakeVec = .(
.(clockNow * ) * ,
.(clockNow * ) *
)
partyRot = .(clockNow * ) *
partySparkTimer += clampedDt *
partySparkTimer >=
partySparkTimer =
()
sirenSoundTimer += clampedDt
sirenSoundTimer >=
sirenSoundTimer =
(()
UltraLoudSiren UltraLoudSiren.Parent
UltraLoudSiren.SoundId = ULTRA_SIREN_SOUND_IDS[sirenSoundIndex]
sirenSoundIndex = (sirenSoundIndex % #ULTRA_SIREN_SOUND_IDS) +
UltraLoudSiren.Volume =
UltraLoudSiren.PlaybackSpeed = + (.() * )
UltraLoudSiren:()
)
fireSoundTimer += clampedDt
fireSoundTimer >=
fireSoundTimer =
(()
FireSound FireSound.Parent
FireSound.SoundId = FIRE_SOUND_IDS[fireSoundIndex]
fireSoundIndex = (fireSoundIndex % #FIRE_SOUND_IDS) +
FireSound.PlaybackSpeed = + (.() * )
FireSound:()
)
hornSoundTimer += clampedDt
hornSoundTimer >=
hornSoundTimer =
(()
HornSound HornSound.Parent
HornSound.SoundId = HORN_SOUND_IDS[hornSoundIndex]
hornSoundIndex = (hornSoundIndex % #HORN_SOUND_IDS) +
HornSound:()
)
closeSize = .(.(currentWidth, currentHeight) * , , )
CloseBtn.Size = .(closeSize, closeSize)
CloseBtn.Position = .(, -(closeSize + ), , )
TitleLabel.Size = .(, -(closeSize + ), , )
stiffness =
damping =
offsetForce = (-bounceOffset * stiffness) - (bounceOffsetVel * damping)
bounceOffsetVel += offsetForce * clampedDt
bounceOffset = .(
.(bounceOffset.X + bounceOffsetVel.X * clampedDt, -, ),
.(bounceOffset.Y + bounceOffsetVel.Y * clampedDt, -, )
)
rotForce = (-bounceRot * stiffness) - (bounceRotVel * damping)
bounceRotVel += rotForce * clampedDt
bounceRot = .(bounceRot + bounceRotVel * clampedDt, -, )
scaleForce = (( - bounceScale) * (stiffness * )) - (bounceScaleVel * damping)
bounceScaleVel += scaleForce * clampedDt
bounceScale = .(bounceScale + bounceScaleVel * clampedDt, , )
stretchForce = (-bounceStretchX * (stiffness * )) - (bounceStretchXVel * damping)
bounceStretchXVel += stretchForce * clampedDt
bounceStretchX = .(bounceStretchX + bounceStretchXVel * clampedDt, -, )
activeW = currentWidth
activeH = currentHeight
resizing
bounceOffset = .zero
bounceOffsetVel = .zero
bounceRot =
bounceRotVel =
bounceScale =
bounceScaleVel =
bounceStretchX =
bounceStretchXVel =
MainFrame.Rotation =
FrameScale.Scale =
MainFrame.Size = .(, activeW, , activeH)
MainFrame.Position = .(currentPosScale.X, currentPosOffset.X, currentPosScale.Y, currentPosOffset.Y)
activeW = currentWidth * ( + bounceStretchX)
activeH = currentHeight * ( - bounceStretchX * )
MainFrame.Position = .(
currentPosScale.X,
currentPosOffset.X + bounceOffset.X + partyShakeVec.X,
currentPosScale.Y,
currentPosOffset.Y + bounceOffset.Y + partyShakeVec.Y
)
MainFrame.Rotation = bounceRot + partyRot
FrameScale.Scale = bounceScale
MainFrame.Size = .(, activeW, , activeH)
currentPos = MainFrame.AbsolutePosition
delta = currentPos - lastPos
dist = delta.Magnitude
speed = dist / .(clampedDt, / )
rawShake = .(speed / , , )
isCelebrating
rawShake = .(rawShake, (elapsedParty >= ) )
shakeIntensity += (rawShake - shakeIntensity) * .(, clampedDt * )
rotSpeed = + (shakeIntensity * )
rotation = (rotation + rotSpeed * clampedDt) %
UIGradient.Rotation = rotation
TrueGoldGradient.Rotation = + .(clockNow * ) *
textSweepPhase = (textSweepPhase + ( + shakeIntensity * ) * clampedDt) % (.pi * )
sweepX = .(textSweepPhase) *
shimmerPulse = (.(clockNow * ) * + ) * ( + shakeIntensity * )
titleGrad.Offset = .(sweepX, )
timerGrad.Offset = .(-sweepX, )
titleGrad.Rotation = - + .(clockNow * ) *
timerGrad.Rotation = + .(clockNow * ) *
titleStroke.Thickness = + (shakeIntensity * ) + (shimmerPulse * )
timerStroke.Thickness = + (shakeIntensity * ) + (shimmerPulse * )
titleStroke.Transparency = .( - (shakeIntensity * ), , )
timerStroke.Transparency = .( - (shakeIntensity * ), , )
titleStrokeGrad.Rotation = (clockNow * ( + shakeIntensity * )) %
timerStrokeGrad.Rotation = -(clockNow * ( + shakeIntensity * )) %
gleamRotation = - + .(clockNow * ) * + (shakeIntensity * )
GleamGradient.Rotation = gleamRotation
GoldGleamOverlay.BackgroundTransparency = .( - (shakeIntensity * ), , )
shadowShiftX = - (bounceOffset.X * ) + (shakeIntensity * )
shadowShiftY = - (bounceOffset.Y * ) + (shakeIntensity * )
expandScale = + (shakeIntensity * )
ShadowGroup.Size = .(, activeW, , activeH)
ShadowGroup.Position = .(
currentPosScale.X,
(currentPosOffset.X + bounceOffset.X + partyShakeVec.X) + shadowShiftX,
currentPosScale.Y,
(currentPosOffset.Y + bounceOffset.Y + partyShakeVec.Y) + shadowShiftY
)
ShadowGroup.Rotation = MainFrame.Rotation
ShadowScale.Scale = FrameScale.Scale * expandScale
_, entry (shadowLayers)
shimmer = (.(clockNow * + entry.phase) * + ) * shakeIntensity
currentTrans = entry.idleTrans + ((entry.activeTrans - entry.idleTrans) * shakeIntensity) - (shimmer * entry.pulseAmp)
entry.frame.BackgroundTransparency = .(currentTrans, , )
entry.grad.Rotation = (clockNow * ( + shakeIntensity * ) + entry.phase * ) %
dripSpawnTimer += clampedDt * ( + shakeIntensity * )
dripSpawnTimer >=
dripSpawnTimer =
()
i = #activeDrips, , -
d = activeDrips[i]
d.age += clampedDt
progress = .(d.age / d.maxAge, , )
d.y += d.vy * clampedDt
d.vy += * clampedDt
d.length = .(d.maxLength, d.baseWidth + progress * (d.maxLength - d.baseWidth))
currentW = .(, d.baseWidth * ( - progress * ))
d.frame.Position = .(d.x, d.y)
d.frame.Size = .(currentW, d.length)
d.frame.BackgroundTransparency = .( + (progress ^ ) * , , )
d.age >= d.maxAge
d.frame
d.frame:()
.(activeDrips, i)
i = #partySparks, , -
sp = partySparks[i]
sp.age += clampedDt
p = .(sp.age / sp.maxAge, , )
sp.x += sp.vx * clampedDt
sp.y += sp.vy * clampedDt
sp.vy += * clampedDt
sp.frame.Position = .(sp.x, sp.y)
sp.frame.BackgroundTransparency = .(p ^ , , )
sp.age >= sp.maxAge
sp.frame sp.frame:()
.(partySparks, i)
UIStroke.Thickness = + (shakeIntensity * )
lastPos = currentPos
isCelebrating
TitleLabel.Text = .(, activeTargetYear)
TimerLabel.Text = statusText .(, activeTargetYear)
diff >
TitleLabel.Text = .(, activeTargetYear)
lastTickSecond ~= nowUtc
lastTickSecond = nowUtc
(()
TickSound TickSound.Parent
TickSound.PlaybackSpeed = (diff % == )
TickSound:()
)
days = .(diff / )
hours = .((diff % ) / )
minutes = .((diff % ) / )
seconds = diff %
TimerLabel.Text = .(, days, hours, minutes, seconds)
)✨ Golden New Year Countdown & Celebration Party Hub ✨ A golden countdown UI that tracks the time left until the next New Year and triggers a full celebration sequence when the timer hits zero. How it works: • Live Countdown: Displays days, hours, minutes, and seconds with soft tick sounds and a draggable, resizable golden UI. • Celebration Sequence: Automatically starts when the countdown ends, bringing camera effects, fireworks sparks, sounds, dance animations, speed boosts, and space flight. • Party Gear: Grants special tools (Fireworks Wand, Space Torch, and Disco Orb) to your backpack during the celebration, each with its own burst and sound effect. • Clean Exit: Includes a close button that cleans up active effects and removes the UI.

Universal