SOURCE TEXT
Script source file
Open the script file to view its code, then compare the features and requirements below.
https://rscripts.net/raw/new-script-12345_1792475309563_Ndgyr9puis.txt
Open source file ↗
Creator description
-- TOXIC HUB | NEON EDITION-- Single-script Lua GUI demolocal Players = game:GetService("Players")local UIS = game:GetService("UserInputService")local TweenService = game:GetService("TweenService")local player = Players.LocalPlayerlocal playerGui = player:WaitForChild("PlayerGui")local old = playerGui:FindFirstChild("TOXIC_HUB")if old then old:Destroy() endlocal gui = Instance.new("ScreenGui")gui.Name = "TOXIC_HUB"gui.ResetOnSpawn = falsegui.Parent = playerGuilocal function corner(object, radius) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, radius) c.Parent = objectendlocal function outline(object, color, thickness) local s = Instance.new("UIStroke") s.Color = color s.Thickness = thickness s.Parent = object return sendlocal 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 = 0main.Parent = guicorner(main, 16)local neon = outline(main, Color3.fromRGB(0, 255, 200), 2)-- Draggable windowlocal dragging, dragStart, startPosmain.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 endend)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 ) endend)UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false endend)local title = Instance.new("TextLabel")title.Size = UDim2.new(1, -90, 0, 48)title.Position = UDim2.fromOffset(15, 5)title.BackgroundTransparency = 1title.Text = "⚡ TOXIC HUB"title.TextColor3 = Color3.fromRGB(0, 255, 210)title.Font = Enum.Font.GothamBlacktitle.TextSize = 24title.TextXAlignment = Enum.TextXAlignment.Lefttitle.Parent = mainlocal minimize = Instance.new("TextButton")minimize.Size = UDim2.fromOffset(34, 32)minimize.Position = UDim2.new(1, -78, 0, 12)minimize.Text = "_"minimize.TextSize = 22minimize.Font = Enum.Font.GothamBoldminimize.TextColor3 = Color3.new(1, 1, 1)minimize.BackgroundColor3 = Color3.fromRGB(40, 45, 70)minimize.Parent = maincorner(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 = 16close.Font = Enum.Font.GothamBoldclose.TextColor3 = Color3.new(1, 1, 1)close.BackgroundColor3 = Color3.fromRGB(180, 45, 70)close.Parent = maincorner(close, 8)local content = Instance.new("Frame")content.Position = UDim2.fromOffset(10, 58)content.Size = UDim2.new(1, -20, 1, -68)content.BackgroundTransparency = 1content.Parent = mainlocal 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 bendlocal speed = 16local infiniteJump = falselocal minimized = falselocal speedLabel = Instance.new("TextLabel")speedLabel.Size = UDim2.new(1, 0, 0, 24)speedLabel.Position = UDim2.fromOffset(0, 0)speedLabel.BackgroundTransparency = 1speedLabel.Text = "SPEED: 16"speedLabel.TextColor3 = Color3.new(1, 1, 1)speedLabel.Font = Enum.Font.GothamBoldspeedLabel.TextSize = 14speedLabel.Parent = contentlocal 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 = 1status.Text = "● TOXIC SYSTEM READY"status.TextColor3 = Color3.fromRGB(0, 255, 170)status.Font = Enum.Font.GothamBoldstatus.TextSize = 12status.Parent = content-- Demo controlsspeedButton.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 viewerlocal 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 = falseinventory.Parent = guicorner(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 = 1invTitle.Text = "PLAYER INVENTORY"invTitle.TextColor3 = Color3.new(1, 1, 1)invTitle.Font = Enum.Font.GothamBlackinvTitle.TextSize = 15invTitle.Parent = inventorylocal 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 = inventorycorner(invClose, 7)local invList = Instance.new("ScrollingFrame")invList.Position = UDim2.fromOffset(10, 45)invList.Size = UDim2.new(1, -20, 1, -55)invList.BackgroundTransparency = 1invList.BorderSizePixel = 0invList.ScrollBarThickness = 4invList.CanvasSize = UDim2.fromOffset(0, 0)invList.Parent = inventorylocal listLayout = Instance.new("UIListLayout")listLayout.Padding = UDim.new(0, 5)listLayout.Parent = invListlistLayout: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 endendlocal 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) endendinventoryButton.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) endend)invClose.Activated:Connect(function() inventory.Visible = falseend)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 bordertask.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) endend)print("TOXIC HUB NEON EDITION LOADED")