
New script 12345
- Keyless
- Mobile friendly

Advertisement
-- TOXIC HUB | NEON EDITION
-- Single-script Lua GUI demo
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local old = playerGui:FindFirstChild("TOXIC_HUB")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "TOXIC_HUB"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local function corner(object, radius)
local c = Instance.new("UICorner")
c.CornerRadius = UDim.new(0, radius)
c.Parent = object
end
local function outline(object, color, thickness)
local s = Instance.new("UIStroke")
s.Color = color
s.Thickness = thickness
s.Parent = object
return s
end
local main = Instance.new("Frame")
main.Name = "Main"
main.Size = UDim2.fromOffset(320, 440)
main.Position = UDim2.new(0.5, -160, 0.5, -220)
main.BackgroundColor3 = Color3.fromRGB(13, 14, 27)
main.BorderSizePixel = 0
main.Parent = gui
corner(main, 16)
local neon = outline(main, Color3.fromRGB(0, 255, 200), 2)
-- Draggable window
local dragging, dragStart, startPos
main.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)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -90, 0, 48)
title.Position = UDim2.fromOffset(15, 5)
title.BackgroundTransparency = 1
title.Text = "⚡ TOXIC HUB"
title.TextColor3 = Color3.fromRGB(0, 255, 210)
title.Font = Enum.Font.GothamBlack
title.TextSize = 24
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = main
local minimize = Instance.new("TextButton")
minimize.Size = UDim2.fromOffset(34, 32)
minimize.Position = UDim2.new(1, -78, 0, 12)
minimize.Text = "_"
minimize.TextSize = 22
minimize.Font = Enum.Font.GothamBold
minimize.TextColor3 = Color3.new(1, 1, 1)
minimize.BackgroundColor3 = Color3.fromRGB(40, 45, 70)
minimize.Parent = main
corner(minimize, 8)
local close = Instance.new("TextButton")
close.Size = UDim2.fromOffset(34, 32)
close.Position = UDim2.new(1, -39, 0, 12)
close.Text = "X"
close.TextSize = 16
close.Font = Enum.Font.GothamBold
close.TextColor3 = Color3.new(1, 1, 1)
close.BackgroundColor3 = Color3.fromRGB(180, 45, 70)
close.Parent = main
corner(close, 8)
local content = Instance.new("Frame")
content.Position = UDim2.fromOffset(10, 58)
content.Size = UDim2.new(1, -20, 1, -68)
content.BackgroundTransparency = 1
content.Parent = main
local function button(text, y, color)
local b = Instance.new("TextButton")
b.Size = UDim2.new(1, 0, 0, 42)
b.Position = UDim2.fromOffset(0, y)
b.BackgroundColor3 = color
b.Text = text
b.TextColor3 = Color3.new(1, 1, 1)
b.Font = Enum.Font.GothamBold
b.TextSize = 14
b.AutoButtonColor = true
b.Parent = content
corner(b, 10)
return b
end
local speed = 16
local infiniteJump = false
local minimized = false
local speedLabel = Instance.new("TextLabel")
speedLabel.Size = UDim2.new(1, 0, 0, 24)
speedLabel.Position = UDim2.fromOffset(0, 0)
speedLabel.BackgroundTransparency = 1
speedLabel.Text = "SPEED: 16"
speedLabel.TextColor3 = Color3.new(1, 1, 1)
speedLabel.Font = Enum.Font.GothamBold
speedLabel.TextSize = 14
speedLabel.Parent = content
local speedButton = button("+10 SPEED", 30,
Color3.fromRGB(0, 145, 110))
local resetButton = button("↺ RESET SPEED TO 16", 80,
Color3.fromRGB(170, 55, 75))
local jumpButton = button("⚡ INFINITE JUMP: OFF", 130,
Color3.fromRGB(105, 60, 180))
local stopButton = button("■ STOP INFINITE JUMP", 180,
Color3.fromRGB(90, 45, 65))
local inventoryButton = button("👥 LOOK AT PLAYERS' INV", 230,
Color3.fromRGB(30, 100, 190))
local status = Instance.new("TextLabel")
status.Size = UDim2.new(1, 0, 0, 35)
status.Position = UDim2.fromOffset(0, 282)
status.BackgroundTransparency = 1
status.Text = "● TOXIC SYSTEM READY"
status.TextColor3 = Color3.fromRGB(0, 255, 170)
status.Font = Enum.Font.GothamBold
status.TextSize = 12
status.Parent = content
-- Demo controls
speedButton.Activated:Connect(function()
speed += 10
speedLabel.Text = "SPEED: " .. speed
status.Text = "DEMO: SPEED INCREASED"
end)
resetButton.Activated:Connect(function()
speed = 16
speedLabel.Text = "SPEED: 16"
status.Text = "DEMO: SPEED RESET"
end)
jumpButton.Activated:Connect(function()
infiniteJump = true
jumpButton.Text = "⚡ INFINITE JUMP: ON"
status.Text = "DEMO: JUMP ENABLED"
end)
stopButton.Activated:Connect(function()
infiniteJump = false
jumpButton.Text = "⚡ INFINITE JUMP: OFF"
status.Text = "DEMO: JUMP STOPPED"
end)
-- Simulated inventory viewer
local inventory = Instance.new("Frame")
inventory.Size = UDim2.fromOffset(260, 300)
inventory.Position = UDim2.new(0.5, 170, 0.5, -150)
inventory.BackgroundColor3 = Color3.fromRGB(17, 19, 35)
inventory.Visible = false
inventory.Parent = gui
corner(inventory, 14)
outline(inventory, Color3.fromRGB(0, 190, 255), 2)
local invTitle = Instance.new("TextLabel")
invTitle.Size = UDim2.new(1, -45, 0, 40)
invTitle.Position = UDim2.fromOffset(10, 0)
invTitle.BackgroundTransparency = 1
invTitle.Text = "PLAYER INVENTORY"
invTitle.TextColor3 = Color3.new(1, 1, 1)
invTitle.Font = Enum.Font.GothamBlack
invTitle.TextSize = 15
invTitle.Parent = inventory
local invClose = Instance.new("TextButton")
invClose.Size = UDim2.fromOffset(30, 30)
invClose.Position = UDim2.new(1, -36, 0, 5)
invClose.Text = "X"
invClose.TextColor3 = Color3.new(1, 1, 1)
invClose.BackgroundColor3 = Color3.fromRGB(180, 45, 70)
invClose.Parent = inventory
corner(invClose, 7)
local invList = Instance.new("ScrollingFrame")
invList.Position = UDim2.fromOffset(10, 45)
invList.Size = UDim2.new(1, -20, 1, -55)
invList.BackgroundTransparency = 1
invList.BorderSizePixel = 0
invList.ScrollBarThickness = 4
invList.CanvasSize = UDim2.fromOffset(0, 0)
invList.Parent = inventory
local listLayout = Instance.new("UIListLayout")
listLayout.Padding = UDim.new(0, 5)
listLayout.Parent = invList
listLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
invList.CanvasSize = UDim2.fromOffset(
0, listLayout.AbsoluteContentSize.Y + 5)
end)
local demoInventory = {
"Golden Duck",
"Rainbow Block",
"Mystery Box",
"Diamond Trophy"
}
local function clearInventory()
for _, v in ipairs(invList:GetChildren()) do
if v:IsA("TextButton") or v:IsA("TextLabel") then
v:Destroy()
end
end
end
local function invEntry(text, callback)
local entry = Instance.new(callback and "TextButton" or "TextLabel")
entry.Size = UDim2.new(1, -4, 0, 34)
entry.BackgroundColor3 = Color3.fromRGB(38, 43, 67)
entry.BackgroundTransparency = callback and 0 or 1
entry.Text = text
entry.TextColor3 = Color3.new(1, 1, 1)
entry.Font = Enum.Font.GothamMedium
entry.TextSize = 13
entry.Parent = invList
if callback then
corner(entry, 7)
entry.Activated:Connect(callback)
end
end
inventoryButton.Activated:Connect(function()
inventory.Visible = not inventory.Visible
if not inventory.Visible then return end
clearInventory()
invEntry("SELECT A DEMO PLAYER", nil)
for , name in ipairs({"PlayerOne", "Player_Two", "Player_Three"}) do
local selected = name
invEntry("👤 " .. selected, function()
clearInventory()
invEntry("ITEMS: " .. selected, nil)
for _, item in ipairs(demoInventory) do
invEntry("◆ " .. item, nil)
end
invEntry("← BACK TO PLAYERS", function()
inventoryButton:Activate()
end)
end)
end
end)
invClose.Activated:Connect(function()
inventory.Visible = false
end)
minimize.Activated:Connect(function()
minimized = not minimized
content.Visible = not minimized
main.Size = minimized
and UDim2.fromOffset(320, 58)
or UDim2.fromOffset(320, 440)
minimize.Text = minimized and "+" or "_"
end)
close.Activated:Connect(function()
gui:Destroy()
end)
-- Animated rainbow border
task.spawn(function()
local hue = 0
while gui.Parent do
hue = (hue + 0.004) % 1
neon.Color = Color3.fromHSV(hue, 1, 1)
task.wait(0.03)
end
end)
print("TOXIC HUB NEON EDITION LOADED")
Advertisement
Share what works, ask questions, or report an issue.
No comments yet. Be the first to share your experience with this script.

MixkyVerifiedInfectious Smile

MixkyVerifiedBlade Ball
344 lines · 10.0 KB
Tap a chip for community notes