M
Description
This is a test script so I’m trying to code
GAMERIVALS [❄️FREEZE RAY❄️]
UPDATEDOct 18, 2026
ACCESSKeyless
PLATFORMDesktop
Script source Luau
-- [[ BloxScripts Risk Notice ]]
-- This script has not been verified by BloxScripts.fun. Deal with caution.
--
-- Stay safe:
-- • Never log in on unofficial Roblox sites or lookalike domains.
-- • Real Roblox links use roblox.com (check the .com ending).
-- • Treat fake Roblox login / "claim reward" pages as phishing.
-- [[ End BloxScripts Risk Notice ]]
-- 💜 PURPLE HUB | MAIN MENU
-- Standalone interface demo
-- No live-game exploit functions included
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local purple = Color3.fromRGB(165, 75, 255)
local dark = Color3.fromRGB(19, 13, 30)
local panelColor = Color3.fromRGB(32, 23, 47)
local white = Color3.fromRGB(245, 240, 255)
local old = playerGui:FindFirstChild("PurpleHub")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "PurpleHub"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local main = Instance.new("Frame")
main.Size = UDim2.fromOffset(330, 350)
main.Position = UDim2.new(0.5, -165, 0.5, -175)
main.BackgroundColor3 = dark
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 12)
local outline = Instance.new("UIStroke")
outline.Color = purple
outline.Thickness = 2
outline.Parent = main
local header = Instance.new("TextButton")
header.Size = UDim2.new(1, -20, 0, 45)
header.Position = UDim2.fromOffset(10, 5)
header.BackgroundTransparency = 1
header.Text = "💜 PURPLE HUB [—]"
header.TextColor3 = white
header.Font = Enum.Font.GothamBold
header.TextSize = 19
header.Parent = main
local subtitle = Instance.new("TextLabel")
subtitle.Size = UDim2.new(1, -20, 0, 22)
subtitle.Position = UDim2.fromOffset(10, 46)
subtitle.BackgroundTransparency = 1
subtitle.Text = "PURPLE EDITION • MENU DEMO"
subtitle.TextColor3 = purple
subtitle.Font = Enum.Font.GothamBold
subtitle.TextSize = 10
subtitle.Parent = main
local tabs = Instance.new("Frame")
tabs.Size = UDim2.new(1, -20, 0, 34)
tabs.Position = UDim2.fromOffset(10, 75)
tabs.BackgroundTransparency = 1
tabs.Parent = main
local tabLayout = Instance.new("UIListLayout")
tabLayout.FillDirection = Enum.FillDirection.Horizontal
tabLayout.Padding = UDim.new(0, 5)
tabLayout.Parent = tabs
local content = Instance.new("Frame")
content.Size = UDim2.new(1, -20, 1, -125)
content.Position = UDim2.fromOffset(10, 115)
content.BackgroundColor3 = panelColor
content.BorderSizePixel = 0
content.Parent = main
Instance.new("UICorner", content).CornerRadius = UDim.new(0, 8)
local minimized = false
local fullSize = main.Size
header.Activated:Connect(function()
minimized = not minimized
content.Visible = not minimized
tabs.Visible = not minimized
subtitle.Visible = not minimized
main.Size = minimized
and UDim2.fromOffset(330, 55)
or fullSize
header.Text = minimized
and "💜 PURPLE HUB [+]"
or "💜 PURPLE HUB [—]"
end)
local function clearContent()
for _, child in ipairs(content:GetChildren()) do
if not child:IsA("UICorner") then
child:Destroy()
end
end
end
local function addButton(text, callback)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -16, 0, 38)
button.BackgroundColor3 = dark
button.TextColor3 = white
button.Text = text
button.Font = Enum.Font.GothamSemibold
button.TextSize = 13
button.BorderSizePixel = 0
button.Parent = content
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 7)
local stroke = Instance.new("UIStroke")
stroke.Color = purple
stroke.Transparency = 0.4
stroke.Parent = button
button.Activated:Connect(callback)
return button
end
local function showTab(name)
clearContent()
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 8)
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = content
local padding = Instance.new("UIPadding")
padding.PaddingTop = UDim.new(0, 10)
padding.Parent = content
if name == "Home" then
addButton("Welcome to Purple Hub 💜", function() end)
addButton("Menu Status: Loaded", function() end)
addButton("Version 1.0 • UI Demo", function() end)
elseif name == "Visuals" then
for _, label in ipairs({
"Crosshair Display",
"Hitmarker Preview",
"Purple Theme"
}) do
local enabled = false
local button
button = addButton(label .. ": OFF", function()
enabled = not enabled
button.Text = label .. (enabled and ": ON" or ": OFF")
button.BackgroundColor3 = enabled and purple or dark
end)
end
elseif name == "Settings" then
addButton("Accent: Purple", function()
outline.Color = Color3.fromRGB(165, 75, 255)
end)
addButton("Accent: Cyan", function()
outline.Color = Color3.fromRGB(0, 220, 255)
end)
addButton("Accent: Pink", function()
outline.Color = Color3.fromRGB(255, 75, 190)
end)
end
end
for _, name in ipairs({"Home", "Visuals", "Settings"}) do
local tab = Instance.new("TextButton")
tab.Size = UDim2.fromOffset(98, 32)
tab.BackgroundColor3 = panelColor
tab.TextColor3 = white
tab.Text = name
tab.Font = Enum.Font.GothamBold
tab.TextSize = 11
tab.BorderSizePixel = 0
tab.Parent = tabs
Instance.new("UICorner", tab).CornerRadius = UDim.new(0, 6)
tab.Activated:Connect(function()
showTab(name)
end)
end
-- Drag the menu using the header
local dragging = false
local dragStart
local startPosition
header.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch
or input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPosition = main.Position
end
end)
UIS.InputChanged:Connect(function(input)
if dragging and (
input.UserInputType == Enum.UserInputType.Touch
or input.UserInputType == Enum.UserInputType.MouseMovement
) then
local delta = input.Position - dragStart
main.Position = UDim2.new(
startPosition.X.Scale,
startPosition.X.Offset + delta.X,
startPosition.Y.Scale,
startPosition.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch
or input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
showTab("Home")
print("💜 Purple Hub menu loaded!")
-- 💜 PURPLE HUB | CROSSHAIR CUSTOMIZER
-- Standalone visual demo for your own Roblox experience
-- Place this LocalScript inside StarterGui in Roblox Studio
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local PURPLE = Color3.fromRGB(170, 80, 255)
local DARK = Color3.fromRGB(19, 13, 31)
local PANEL = Color3.fromRGB(34, 24, 49)
local WHITE = Color3.fromRGB(245, 240, 255)
local old = playerGui:FindFirstChild("PurpleCrosshair")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "PurpleCrosshair"
gui.ResetOnSpawn = false
gui.Parent = playerGui
-- Crosshair preview
local preview = Instance.new("Frame")
preview.Name = "CrosshairPreview"
preview.Size = UDim2.fromOffset(150, 150)
preview.Position = UDim2.new(0.5, -75, 0.35, -75)
preview.BackgroundColor3 = Color3.fromRGB(12, 12, 18)
preview.BackgroundTransparency = 0.1
preview.BorderSizePixel = 0
preview.Parent = gui
Instance.new("UICorner", preview).CornerRadius = UDim.new(0, 12)
local previewStroke = Instance.new("UIStroke")
previewStroke.Color = PURPLE
previewStroke.Thickness = 1.5
previewStroke.Parent = preview
local previewTitle = Instance.new("TextLabel")
previewTitle.Size = UDim2.new(1, 0, 0, 22)
previewTitle.BackgroundTransparency = 1
previewTitle.Text = "LIVE PREVIEW"
previewTitle.TextColor3 = PURPLE
previewTitle.Font = Enum.Font.GothamBold
previewTitle.TextSize = 10
previewTitle.Parent = preview
local crosshair = Instance.new("TextLabel")
crosshair.Name = "Crosshair"
crosshair.Size = UDim2.fromOffset(60, 60)
crosshair.AnchorPoint = Vector2.new(0.5, 0.5)
crosshair.Position = UDim2.new(0.5, 0, 0.58, 0)
crosshair.BackgroundTransparency = 1
crosshair.Text = "+"
crosshair.TextColor3 = WHITE
crosshair.TextSize = 24
crosshair.Font = Enum.Font.GothamBold
crosshair.Parent = preview
-- Main panel
local main = Instance.new("Frame")
main.Name = "Customizer"
main.Size = UDim2.fromOffset(320, 360)
main.Position = UDim2.new(0.5, -160, 0.68, -20)
main.BackgroundColor3 = DARK
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 12)
local outline = Instance.new("UIStroke")
outline.Color = PURPLE
outline.Thickness = 2
outline.Parent = main
local heading = Instance.new("TextLabel")
heading.Size = UDim2.new(1, -20, 0, 38)
heading.Position = UDim2.fromOffset(10, 4)
heading.BackgroundTransparency = 1
heading.Text = "💜 CROSSHAIR CUSTOMIZER"
heading.TextColor3 = WHITE
heading.Font = Enum.Font.GothamBold
heading.TextSize = 16
heading.Parent = main
local options = Instance.new("ScrollingFrame")
options.Size = UDim2.new(1, -16, 1, -50)
options.Position = UDim2.fromOffset(8, 43)
options.BackgroundColor3 = PANEL
options.BorderSizePixel = 0
options.ScrollBarThickness = 4
options.ScrollBarImageColor3 = PURPLE
options.AutomaticCanvasSize = Enum.AutomaticSize.Y
options.CanvasSize = UDim2.new()
options.Parent = main
Instance.new("UICorner", options).CornerRadius = UDim.new(0, 8)
local list = Instance.new("UIListLayout")
list.Padding = UDim.new(0, 7)
list.SortOrder = Enum.SortOrder.LayoutOrder
list.Parent = options
local pad = Instance.new("UIPadding")
pad.PaddingTop = UDim.new(0, 8)
pad.PaddingLeft = UDim.new(0, 8)
pad.PaddingRight = UDim.new(0, 8)
pad.PaddingBottom = UDim.new(0, 8)
pad.Parent = options
local size = 24
local gap = 8
local thickness = 2
local currentColor = WHITE
local currentStyle = "Plus"
local function makeButton(text, callback, color)
local b = Instance.new("TextButton")
b.Size = UDim2.new(1, -2, 0, 34)
b.BackgroundColor3 = color or DARK
b.TextColor3 = WHITE
b.Text = text
b.Font = Enum.Font.GothamSemibold
b.TextSize = 12
b.BorderSizePixel = 0
b.Parent = options
Instance.new("UICorner", b).CornerRadius = UDim.new(0, 6)
local s = Instance.new("UIStroke")
s.Color = PURPLE
s.Transparency = 0.5
s.Parent = b
b.Activated:Connect(callback)
return b
end
local function makeLabel(text)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -2, 0, 23)
label.BackgroundTransparency = 1
label.Text = text
label.TextColor3 = PURPLE
label.Font = Enum.Font.GothamBold
label.TextSize = 12
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = options
return label
end
local function render()
crosshair.TextColor3 = currentColor
crosshair.TextSize = size
if currentStyle == "Plus" then
crosshair.Text = "+"
elseif currentStyle == "X" then
crosshair.Text = "×"
elseif currentStyle == "Dot" then
crosshair.Text = "•"
elseif currentStyle == "Circle" then
crosshair.Text = "○"
elseif currentStyle == "Square" then
crosshair.Text = "□"
end
end
makeLabel("CROSSHAIR SIZE")
makeButton("➕ Increase Size", function()
size = math.clamp(size + 4, 8, 64)
render()
end)
makeButton("➖ Decrease Size", function()
size = math.clamp(size - 4, 8, 64)
render()
end)
makeButton("Size: Reset to 24", function()
size = 24
render()
end)
makeLabel("CROSSHAIR STYLE")
for _, style in ipairs({"Plus", "X", "Dot", "Circle", "Square"}) do
makeButton("Style: " .. style, function()
currentStyle = style
render()
end)
end
makeLabel("CROSSHAIR COLOR")
local colors = {
{"White", Color3.fromRGB(255, 255, 255)},
{"Purple", Color3.fromRGB(170, 80, 255)},
{"Cyan", Color3.fromRGB(0, 235, 255)},
{"Red", Color3.fromRGB(255, 75, 95)},
{"Green", Color3.fromRGB(100, 255, 140)},
{"Yellow", Color3.fromRGB(255, 225, 75)}
}
for _, entry in ipairs(colors) do
local name, color = entry[1], entry[2]
makeButton("Color: " .. name, function()
currentColor = color
render()
end, color)
end
makeLabel("EXTRA OPTIONS")
makeButton("Reset All Settings", function()
size = 24
gap = 8
thickness = 2
currentColor = WHITE
currentStyle = "Plus"
render()
end)
-- Draggable panel on touch or mouse
local dragging = false
local dragStart
local startPos
heading.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = main.Position
end
end)
UIS.InputChanged:Connect(function(input)
if dragging and (
input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch
) then
local delta = input.Position - dragStart
main.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
render()
print("💜 Purple Hub Crosshair Customizer loaded!")
-- 💜 PURPLE HUB | THEME SWITCHER
-- Standalone UI demo for your own Roblox experience
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local themes = {
Purple = {
Accent = Color3.fromRGB(170, 80, 255),
Background = Color3.fromRGB(19, 13, 31),
Panel = Color3.fromRGB(34, 24, 49),
},
Cyan = {
Accent = Color3.fromRGB(0, 225, 255),
Background = Color3.fromRGB(10, 20, 30),
Panel = Color3.fromRGB(20, 38, 50),
},
Pink = {
Accent = Color3.fromRGB(255, 75, 190),
Background = Color3.fromRGB(30, 12, 25),
Panel = Color3.fromRGB(48, 22, 40),
},
}
local old = playerGui:FindFirstChild("PurpleThemeSwitcher")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "PurpleThemeSwitcher"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local main = Instance.new("Frame")
main.Name = "ThemePanel"
main.Size = UDim2.fromOffset(300, 250)
main.Position = UDim2.new(0.5, -150, 0.5, -125)
main.BackgroundColor3 = themes.Purple.Background
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 12)
local outline = Instance.new("UIStroke")
outline.Color = themes.Purple.Accent
outline.Thickness = 2
outline.Parent = main
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -20, 0, 45)
title.Position = UDim2.fromOffset(10, 5)
title.BackgroundTransparency = 1
title.Text = "💜 PURPLE HUB"
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 21
title.Parent = main
local status = Instance.new("TextLabel")
status.Size = UDim2.new(1, -20, 0, 30)
status.Position = UDim2.fromOffset(10, 50)
status.BackgroundTransparency = 1
status.Text = "Current Theme: Purple"
status.TextColor3 = themes.Purple.Accent
status.Font = Enum.Font.GothamSemibold
status.TextSize = 14
status.Parent = main
local function applyTheme(name)
local theme = themes[name]
if not theme then return end
main.BackgroundColor3 = theme.Background
outline.Color = theme.Accent
status.TextColor3 = theme.Accent
status.Text = "Current Theme: " .. name
for _, child in ipairs(main:GetChildren()) do
if child:IsA("TextButton") then
child.BackgroundColor3 = theme.Panel
local stroke = child:FindFirstChildOfClass("UIStroke")
if stroke then
stroke.Color = theme.Accent
end
end
end
end
local function makeThemeButton(name, y, color)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -30, 0, 38)
button.Position = UDim2.fromOffset(15, y)
button.BackgroundColor3 = themes.Purple.Panel
button.Text = name
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.GothamBold
button.TextSize = 14
button.BorderSizePixel = 0
button.Parent = main
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 7)
local stroke = Instance.new("UIStroke")
stroke.Color = themes.Purple.Accent
stroke.Thickness = 1
stroke.Parent = button
button.Activated:Connect(function()
applyTheme(name)
end)
end
makeThemeButton("💜 Purple Theme", 90)
makeThemeButton("🩵 Cyan Theme", 138)
makeThemeButton("💗 Pink Theme", 186)
print("Purple Hub Theme Switcher loaded!")
-- 💜 PURPLE HUB | GUN SKIN MENU
-- Standalone visual demo for your own Roblox experience
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local PURPLE = Color3.fromRGB(170, 80, 255)
local DARK = Color3.fromRGB(19, 13, 31)
local PANEL = Color3.fromRGB(34, 24, 49)
local WHITE = Color3.fromRGB(245, 240, 255)
local skins = {
{name = "Default", rarity = "Common",
color = Color3.fromRGB(145, 145, 155)},
{name = "Cyber Purple", rarity = "Epic",
color = Color3.fromRGB(170, 80, 255)},
{name = "Neon Cyan", rarity = "Rare",
color = Color3.fromRGB(0, 225, 255)},
{name = "Crimson Fire", rarity = "Legendary",
color = Color3.fromRGB(255, 65, 90)},
{name = "Golden Strike", rarity = "Legendary",
color = Color3.fromRGB(255, 195, 50)},
}
local old = playerGui:FindFirstChild("PurpleGunSkins")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "PurpleGunSkins"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local main = Instance.new("Frame")
main.Size = UDim2.fromOffset(330, 400)
main.Position = UDim2.new(0.5, -165, 0.5, -200)
main.BackgroundColor3 = DARK
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 12)
local outline = Instance.new("UIStroke")
outline.Color = PURPLE
outline.Thickness = 2
outline.Parent = main
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -20, 0, 42)
title.Position = UDim2.fromOffset(10, 5)
title.BackgroundTransparency = 1
title.Text = "💜 PURPLE HUB | SKINS"
title.TextColor3 = WHITE
title.Font = Enum.Font.GothamBold
title.TextSize = 17
title.Parent = main
local preview = Instance.new("Frame")
preview.Size = UDim2.new(1, -24, 0, 90)
preview.Position = UDim2.fromOffset(12, 48)
preview.BackgroundColor3 = PANEL
preview.BorderSizePixel = 0
preview.Parent = main
Instance.new("UICorner", preview).CornerRadius = UDim.new(0, 8)
local weaponShape = Instance.new("Frame")
weaponShape.Size = UDim2.fromOffset(110, 20)
weaponShape.Position = UDim2.new(0.5, -55, 0.5, -10)
weaponShape.BackgroundColor3 = Color3.fromRGB(145, 145, 155)
weaponShape.BorderSizePixel = 0
weaponShape.Parent = preview
Instance.new("UICorner", weaponShape).CornerRadius = UDim.new(0, 5)
local barrel = Instance.new("Frame")
barrel.Size = UDim2.fromOffset(32, 8)
barrel.Position = UDim2.new(1, -2, 0.5, -4)
barrel.BackgroundColor3 = Color3.fromRGB(210, 210, 220)
barrel.BorderSizePixel = 0
barrel.Parent = weaponShape
local equippedLabel = Instance.new("TextLabel")
equippedLabel.Size = UDim2.new(1, -20, 0, 25)
equippedLabel.Position = UDim2.fromOffset(10, 143)
equippedLabel.BackgroundTransparency = 1
equippedLabel.Text = "Preview: Default"
equippedLabel.TextColor3 = PURPLE
equippedLabel.Font = Enum.Font.GothamBold
equippedLabel.TextSize = 13
equippedLabel.Parent = main
local list = Instance.new("ScrollingFrame")
list.Size = UDim2.new(1, -24, 1, -180)
list.Position = UDim2.fromOffset(12, 172)
list.BackgroundColor3 = PANEL
list.BorderSizePixel = 0
list.ScrollBarThickness = 4
list.ScrollBarImageColor3 = PURPLE
list.AutomaticCanvasSize = Enum.AutomaticSize.Y
list.CanvasSize = UDim2.new()
list.Parent = main
Instance.new("UICorner", list).CornerRadius = UDim.new(0, 8)
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 7)
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = list
local padding = Instance.new("UIPadding")
padding.PaddingTop = UDim.new(0, 8)
padding.PaddingLeft = UDim.new(0, 8)
padding.PaddingRight = UDim.new(0, 8)
padding.PaddingBottom = UDim.new(0, 8)
padding.Parent = list
local equipped = "Default"
local function selectSkin(skin)
equipped = skin.name
weaponShape.BackgroundColor3 = skin.color
barrel.BackgroundColor3 = skin.color:Lerp(WHITE, 0.35)
equippedLabel.Text = "Preview: " .. skin.name
end
for _, skin in ipairs(skins) do
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -2, 0, 48)
button.BackgroundColor3 = DARK
button.Text = skin.name .. " | " .. skin.rarity
button.TextColor3 = skin.color
button.Font = Enum.Font.GothamBold
button.TextSize = 12
button.BorderSizePixel = 0
button.Parent = list
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 7)
local stroke = Instance.new("UIStroke")
stroke.Color = skin.color
stroke.Transparency = 0.4
stroke.Parent = button
button.Activated:Connect(function()
selectSkin(skin)
end)
end
print("💜 Purple Hub Gun Skin Preview loaded!")
-- Purple Hub | Auto Queue Status UI
-- Visual demo only: no live matchmaking automation
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "PurpleHubQueue"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 260, 0, 190)
frame.Position = UDim2.new(0.5, -130, 0.5, -95)
frame.BackgroundColor3 = Color3.fromRGB(24, 17, 38)
frame.Parent = gui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = frame
local function makeLabel(text, y, height)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -20, 0, height)
label.Position = UDim2.new(0, 10, 0, y)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(220, 195, 255)
label.Font = Enum.Font.GothamBold
label.TextSize = 15
label.Text = text
label.Parent = frame
return label
end
local title = makeLabel("PURPLE HUB", 8, 28)
title.TextSize = 20
local status = makeLabel("Status: Idle", 45, 24)
local timer = makeLabel("Queue Timer: 00:00", 75, 24)
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, -30, 0, 36)
button.Position = UDim2.new(0, 15, 0, 120)
button.BackgroundColor3 = Color3.fromRGB(135, 75, 220)
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.GothamBold
button.TextSize = 14
button.Text = "Start Demo"
button.Parent = frame
local buttonCorner = Instance.new("UICorner")
buttonCorner.CornerRadius = UDim.new(0, 8)
buttonCorner.Parent = button
local running = false
local seconds = 0
button.Activated:Connect(function()
running = not running
if running then
seconds = 0
status.Text = "Status: Simulating queue"
button.Text = "Stop Demo"
else
status.Text = "Status: Idle"
timer.Text = "Queue Timer: 00:00"
button.Text = "Start Demo"
end
end)
task.spawn(function()
while gui.Parent do
task.wait(1)
if running then
seconds += 1
timer.Text = string.format(
"Queue Timer: %02d:%02d",
math.floor(seconds / 60),
seconds % 60
)
end
end
end)
Review the source before using it. Executions count successful copies, capped at 10 per user and network per script in 24 hours.
Community discussion
0Start the conversation.


Your community, in one place