Time Until wraith spawn
Key Required

Time Until wraith spawn

[4X] FLASHPOINT⚡R_ScripterR_Scripter 5.4K views 1K executesUpdated Sep 28, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•44 lines (1526 chars)
local player = game:GetService("Players").LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "TimerGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local dragFrame = Instance.new("Frame")
dragFrame.Size = UDim2.new(0, 300, 0, 100)
dragFrame.Position = UDim2.new(0.5, -150, 0.1, 0)
dragFrame.BackgroundTransparency = 1
dragFrame.Active = true
dragFrame.Draggable = true
dragFrame.Parent = screenGui

local timerLabel = Instance.new("TextLabel")
timerLabel.Size = UDim2.new(1, 0, 1, 0)
timerLabel.Position = UDim2.new(0, 0, 0, 0)
timerLabel.BackgroundTransparency = 1
timerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
timerLabel.Font = Enum.Font.SourceSansBold
timerLabel.TextSize = 48
timerLabel.TextScaled = true
timerLabel.TextXAlignment = Enum.TextXAlignment.Center
timerLabel.TextYAlignment = Enum.TextYAlignment.Center
timerLabel.Parent = dragFrame

local countdownValue = player:WaitForChild("PlayerData"):WaitForChild("Misc"):WaitForChild("TimeUntilTimeWraith")

local function updateTimer()
	local minutes = math.floor(countdownValue.Value / 60)
	local seconds = countdownValue.Value % 60
	timerLabel.Text = string.format("%d:%02d", minutes, seconds)

	if countdownValue.Value <= 60 and countdownValue.Value > 0 then
		timerLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
	else
		timerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
	end
end

countdownValue:GetPropertyChangedSignal("Value"):Connect(updateTimer)
updateTimer()

Features & Information

Simple countdown timer GUI. Shows minutes:seconds Turns red under 1 minute Moveable anywhere on screen

Community Comments (2)

RocketManRocketManSep 28, 2025

is open source?

Replying to @RocketMan
R_ScripterR_ScripterSep 28, 2025

@RocketMan yes

More Scripts for [4X] FLASHPOINT⚡