--// Universal Hub FINAL (FULL + STABLE) local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UIS = game:GetService("UserInputService") local lp = Players.LocalPlayer -------------------------------------------------- -- GUI -------------------------------------------------- local gui = Instance.new("ScreenGui") gui.Name = "UniversalHub" gui.ResetOnSpawn = false gui.Parent = lp:WaitForChild("PlayerGui") local accentColor = Color3.fromRGB(255,0,200) local RGBEnabled = false -------------------------------------------------- -- DRAG FUNCTION (PC + MOBILE) -------------------------------------------------- local function makeDraggable(frame) local dragging, dragStart, startPos frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) 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 frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) end -------------------------------------------------- -- APPLY ACCENT COLOR -------------------------------------------------- local function applyAccent(color) accentColor = color for _,v in ipairs(gui:GetDescendants()) do if v:IsA("UIStroke") then v.Color = color end if v:IsA("TextLabel") then v.TextColor3 = color end if v:IsA("TextButton") and v.Text ~= "X" and v.Text ~= "_" then v.TextColor3 = color end end end -------------------------------------------------- -- TOGGLE CIRCLE -------------------------------------------------- local circle = Instance.new("TextButton", gui) circle.Size = UDim2.fromOffset(64,64) circle.Position = UDim2.new(0,20,0.5,-32) circle.Text = "2522" circle.Font = Enum.Font.GothamBold circle.TextSize = 20 circle.TextColor3 = accentColor circle.BackgroundColor3 = Color3.fromRGB(0,0,0) circle.BorderSizePixel = 0 Instance.new("UICorner", circle).CornerRadius = UDim.new(1,0) local cStroke = Instance.new("UIStroke", circle) cStroke.Color = accentColor cStroke.Thickness = 4 makeDraggable(circle) -------------------------------------------------- -- MAIN FRAME -------------------------------------------------- local main = Instance.new("Frame", gui) main.Size = UDim2.fromOffset(320,220) main.Position = UDim2.new(0.5,-160,0.5,-110) main.BackgroundColor3 = Color3.fromRGB(10,10,10) main.Visible = false main.BorderSizePixel = 0 Instance.new("UICorner", main).CornerRadius = UDim.new(0,14) makeDraggable(main) local stroke = Instance.new("UIStroke", main) stroke.Color = accentColor stroke.Thickness = 2 -------------------------------------------------- -- TITLE BAR -------------------------------------------------- local title = Instance.new("TextLabel", main) title.Size = UDim2.new(1,0,0,30) title.BackgroundTransparency = 1 title.Text = "universal_gui" title.Font = Enum.Font.GothamBold title.TextSize = 15 title.TextColor3 = accentColor -- CLOSE local close = Instance.new("TextButton", main) close.Text = "X" close.Size = UDim2.fromOffset(26,26) close.Position = UDim2.new(1,-30,0,2) close.BackgroundTransparency = 1 close.TextColor3 = Color3.fromRGB(255,120,120) close.Font = Enum.Font.GothamBold -- MINIMIZE local minimize = Instance.new("TextButton", main) minimize.Text = "_" minimize.Size = UDim2.fromOffset(26,26) minimize.Position = UDim2.new(1,-60,0,2) minimize.BackgroundTransparency = 1 minimize.TextColor3 = Color3.fromRGB(200,200,200) minimize.Font = Enum.Font.GothamBold -------------------------------------------------- -- TAB HOLDER -------------------------------------------------- local tabHolder = Instance.new("Frame", main) tabHolder.Position = UDim2.fromOffset(8,36) tabHolder.Size = UDim2.fromOffset(90,176) tabHolder.BackgroundTransparency = 1 local tabList = Instance.new("UIListLayout", tabHolder) tabList.Padding = UDim.new(0,6) -------------------------------------------------- -- CONTENT HOLDER -------------------------------------------------- local pages = Instance.new("Frame", main) pages.Position = UDim2.fromOffset(106,36) pages.Size = UDim2.fromOffset(206,176) pages.BackgroundTransparency = 1 -------------------------------------------------- -- NEON STYLE -------------------------------------------------- local function neon(btn) btn.BackgroundColor3 = Color3.fromRGB(15,15,15) btn.TextColor3 = accentColor btn.AutoButtonColor = false Instance.new("UICorner", btn).CornerRadius = UDim.new(0,8) local s = Instance.new("UIStroke", btn) s.Color = accentColor s.Thickness = 2 s.Transparency = 0.15 end -------------------------------------------------- -- TAB SYSTEM -------------------------------------------------- local currentPage local function newTab(name) local t = Instance.new("TextButton", tabHolder) t.Size = UDim2.fromOffset(90,30) t.Text = name t.Font = Enum.Font.GothamBold t.TextSize = 13 neon(t) local page = Instance.new("Frame", pages) page.Size = UDim2.new(1,0,1,0) page.Visible = false page.BackgroundTransparency = 1 t.MouseButton1Click:Connect(function() if currentPage then currentPage.Visible = false end currentPage = page page.Visible = true end) return page end -------------------------------------------------- -- SCROLL LIST -------------------------------------------------- local function createList(page) local scroll = Instance.new("ScrollingFrame", page) scroll.Size = UDim2.new(1,0,1,0) scroll.BackgroundTransparency = 1 scroll.ScrollBarImageTransparency = 0.4 scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y local list = Instance.new("UIListLayout", scroll) list.Padding = UDim.new(0,8) list:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() scroll.CanvasSize = UDim2.new(0,0,0,list.AbsoluteContentSize.Y + 10) end) return scroll end -------------------------------------------------- -- SCRIPT BUTTON -------------------------------------------------- local function scriptButton(parent, text, callback) local b = Instance.new("TextButton", parent) b.Size = UDim2.new(1,-6,0,38) b.Text = text b.Font = Enum.Font.Gotham b.TextSize = 14 neon(b) b.MouseButton1Click:Connect(function() task.spawn(function() pcall(callback) end) end) end -------------------------------------------------- -- TABS -------------------------------------------------- local Reanimate = newTab("Reanimate") local Forsaken = newTab("Forsaken") local Settings = newTab("Settings") local ReanimateList = createList(Reanimate) local ForsakenList = createList(Forsaken) local SettingsList = createList(Settings) currentPage = Reanimate Reanimate.Visible = true -------------------------------------------------- -- REANIMATE -------------------------------------------------- scriptButton(ReanimateList, "Uhhhhhh Reanimate", function() loadstring(game:HttpGet("https://raw.githubusercontent.com/STEVE-916-create/Uhhhhhh/main/source/reanim.lua"))() end) scriptButton(ReanimateList, "Anti Hat Fall", function() loadstring(game:HttpGet("https://raw.githubusercontent.com/franciscomilguel1802-ui/Anti-hat-fall-work/refs/heads/main/Work"))() end) scriptButton(ReanimateList, "Oxide Reanimate", function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Nitro-GT/Oxide/refs/heads/main/LoadstringPerma"))() end) -------------------------------------------------- -- FORSAKEN -------------------------------------------------- scriptButton(ForsakenList, "Coolkidd", function() loadstring(game:HttpGet("https://raw.githubusercontent.com/randomstring0/qwertys/refs/heads/main/qwerty2.lua"))() end) scriptButton(ForsakenList, "Hacklord", function() loadstring(game:HttpGet("https://gist.githubusercontent.com/MelonsStuff/c413ca0f0970500f8f1a55ad1b716cc4/raw/5255595a32afb1eb184a6955eda447c706902fab/HacklordTEST"))() end) -------------------------------------------------- -- SETTINGS -------------------------------------------------- local colors = { Color3.fromRGB(255,0,200), Color3.fromRGB(0,200,255), Color3.fromRGB(0,255,120), Color3.fromRGB(255,140,0), Color3.fromRGB(180,120,255) } for _,c in ipairs(colors) do local btn = Instance.new("TextButton", SettingsList) btn.Size = UDim2.fromOffset(36,36) btn.Text = "" btn.BackgroundColor3 = c btn.BorderSizePixel = 0 Instance.new("UICorner", btn).CornerRadius = UDim.new(1,0) btn.MouseButton1Click:Connect(function() applyAccent(c) end) end scriptButton(SettingsList, "RGB : TOGGLE", function() RGBEnabled = not RGBEnabled end) task.spawn(function() local h = 0 while task.wait() do if RGBEnabled then h = (h + 2) % 360 applyAccent(Color3.fromHSV(h/360,1,1)) end end end) -------------------------------------------------- -- OPEN / CLOSE -------------------------------------------------- circle.MouseButton1Click:Connect(function() main.Visible = true main.Position = circle.Position end) minimize.MouseButton1Click:Connect(function() main.Visible = false end) close.MouseButton1Click:Connect(function() gui:Destroy() end)