Ultimate Hub
Key RequiredUniversal

Ultimate Hub

Universal Scriptahngyoahngyo 60 views 137 executesUpdated Aug 23, 2026
Unrated
00
Lua Script•303 lines (12070 chars)
-- Ultimate Hub (Updated Edition)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local TitleLabel = Instance.new("TextLabel")
local SearchContainer = Instance.new("Frame")
local SearchBox = Instance.new("TextBox")
local ScrollingFrame = Instance.new("ScrollingFrame")
local UIListLayout = Instance.new("UIListLayout")
local DiscordButton = Instance.new("TextButton")

-- Parent GUI safely
ScreenGui.Name = "UltimateHub_Updated"
ScreenGui.ResetOnSpawn = false
pcall(function()
    ScreenGui.Parent = game:GetService("CoreGui")
end)
if not ScreenGui.Parent then
    ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
end

-- Toggle Button (✓)
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Parent = ScreenGui
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
ToggleButton.Position = UDim2.new(0, 30, 0, 30)
ToggleButton.Size = UDim2.new(0, 56, 0, 56)
ToggleButton.Text = ""
ToggleButton.Active = true
ToggleButton.Draggable = true

local ToggleCorner = Instance.new("UICorner", ToggleButton)
ToggleCorner.CornerRadius = UDim.new(1, 0)

local InnerCircle = Instance.new("Frame", ToggleButton)
InnerCircle.BackgroundColor3 = Color3.fromRGB(40, 120, 255)
InnerCircle.Position = UDim2.new(0, 4, 0, 4)
InnerCircle.Size = UDim2.new(0, 48, 0, 48)
Instance.new("UICorner", InnerCircle).CornerRadius = UDim.new(1, 0)

local CheckMark = Instance.new("TextLabel", InnerCircle)
CheckMark.BackgroundTransparency = 1
CheckMark.Size = UDim2.new(1, 0, 1, 0)
CheckMark.Font = Enum.Font.GothamBold
CheckMark.Text = "✓"
CheckMark.TextColor3 = Color3.fromRGB(255, 255, 255)
CheckMark.TextSize = 20

-- Main Frame
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
MainFrame.Position = UDim2.new(0.05, 0, 0.1, 0)
MainFrame.Size = UDim2.new(0, 320, 0, 480)
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Visible = false

local MainCorner = Instance.new("UICorner", MainFrame)
MainCorner.CornerRadius = UDim.new(0, 8)

ToggleButton.MouseButton1Click:Connect(function()
    MainFrame.Visible = not MainFrame.Visible
end)

-- Title
TitleLabel.Parent = MainFrame
TitleLabel.BackgroundTransparency = 1
TitleLabel.Size = UDim2.new(1, 0, 0, 40)
TitleLabel.Font = Enum.Font.GothamBold
TitleLabel.Text = "Ultimate Hub (Updated)"
TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TitleLabel.TextSize = 15

-- Search Container
SearchContainer.Parent = MainFrame
SearchContainer.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
SearchContainer.Position = UDim2.new(0, 12, 0, 42)
SearchContainer.Size = UDim2.new(1, -24, 0, 32)
Instance.new("UICorner", SearchContainer).CornerRadius = UDim.new(0, 6)

SearchBox.Parent = SearchContainer
SearchBox.BackgroundTransparency = 1
SearchBox.Position = UDim2.new(0, 10, 0, 0)
SearchBox.Size = UDim2.new(1, -10, 1, 0)
SearchBox.Font = Enum.Font.Gotham
SearchBox.PlaceholderText = "Search scripts..."
SearchBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 160)
SearchBox.Text = ""
SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
SearchBox.TextSize = 12

-- Scrolling Frame
ScrollingFrame.Parent = MainFrame
ScrollingFrame.Active = true
ScrollingFrame.BackgroundTransparency = 1
ScrollingFrame.Position = UDim2.new(0, 0, 0, 82)
ScrollingFrame.Size = UDim2.new(1, 0, 1, -125)
ScrollingFrame.ScrollBarThickness = 4

UIListLayout.Parent = ScrollingFrame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 6)
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center

UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
    ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + 10)
end)

-- Discord Footer Button
DiscordButton.Parent = MainFrame
DiscordButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242)
DiscordButton.Position = UDim2.new(0, 12, 1, -38)
DiscordButton.Size = UDim2.new(1, -24, 0, 30)
DiscordButton.Font = Enum.Font.GothamBold
DiscordButton.Text = "💬 Copy Discord: discord.gg/5hE4sjZH4"
DiscordButton.TextColor3 = Color3.fromRGB(255, 255, 255)
DiscordButton.TextSize = 11
Instance.new("UICorner", DiscordButton).CornerRadius = UDim.new(0, 6)

DiscordButton.MouseButton1Click:Connect(function()
    local success = pcall(function()
        setclipboard("https://discord.gg/5hE4sjZH4")
    end)
    if success then
        DiscordButton.Text = "✅ Copied Discord Link!"
        task.wait(1.5)
        DiscordButton.Text = "💬 Copy Discord: discord.gg/5hE4sjZH4"
    else
        warn("⚠️ Clipboard function not supported by your executor.")
    end
end)

-- SCRIPT DATABASE
local scriptsData = {
    {category = "MAIN", name = "Airflow Loader", color = Color3.fromRGB(45, 120, 180), url = "https://airflowscript.com/loader", favorited = false},
    {category = "ADMIN", name = "Infinite Yield Admin", color = Color3.fromRGB(64, 136, 72), url = "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source", favorited = false},
    {category = "ADMIN", name = "Dex++ Decompiler Fix", color = Color3.fromRGB(153, 105, 57), url = "https://raw.githubusercontent.com/infyiff/backup/main/dex.lua", favorited = false},
    {category = "UNIVERSAL SCRIPT", name = "Orca Hub", color = Color3.fromRGB(58, 112, 142), url = "https://raw.githubusercontent.com/richie0866/orca/master/public/latest.lua", favorited = false},
    {category = "UNIVERSAL SCRIPT", name = "Custom Script (YSJhaS2p)", color = Color3.fromRGB(100, 100, 150), url = "https://pastebin.com/raw/YSJhaS2p", favorited = false},
    {category = "NEED KEY", name = "Solix Hub", color = Color3.fromRGB(170, 130, 44), url = "https://raw.githubusercontent.com/bao8jl/solixhub/main/loader", favorited = false},
}

local categoryOrder = {"MAIN", "ADMIN", "UNIVERSAL SCRIPT", "NEED KEY"}

local function renderList(filterText)
    filterText = filterText or ""
    filterText = filterText:lower()

    for _, child in ipairs(ScrollingFrame:GetChildren()) do
        if child:IsA("Frame") then
            child:Destroy()
        end
    end

    local orderID = 0

    local favoriteItems = {}
    for _, item in ipairs(scriptsData) do
        if item.favorited and (filterText == "" or string.find(item.name:lower(), filterText)) then
            table.insert(favoriteItems, item)
        end
    end

    if #favoriteItems > 0 then
        orderID = orderID + 1
        local bar = Instance.new("Frame", ScrollingFrame)
        bar.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
        bar.Size = UDim2.new(1, -24, 0, 28)
        bar.LayoutOrder = orderID
        Instance.new("UICorner", bar).CornerRadius = UDim.new(0, 6)

        local lbl = Instance.new("TextLabel", bar)
        lbl.BackgroundTransparency = 1
        lbl.Size = UDim2.new(1, 0, 1, 0)
        lbl.Font = Enum.Font.GothamBold
        lbl.Text = "--- [ FAVORITES ] ---"
        lbl.TextColor3 = Color3.fromRGB(255, 215, 0)
        lbl.TextSize = 11

        for _, item in ipairs(favoriteItems) do
            orderID = orderID + 1
            local rowFrame = Instance.new("Frame", ScrollingFrame)
            rowFrame.BackgroundTransparency = 1
            rowFrame.Size = UDim2.new(1, -24, 0, 34)
            rowFrame.LayoutOrder = orderID

            local btn = Instance.new("TextButton", rowFrame)
            btn.BackgroundColor3 = item.color
            btn.Size = UDim2.new(1, -40, 1, 0)
            btn.Font = Enum.Font.GothamSemibold
            btn.Text = item.name
            btn.TextColor3 = Color3.fromRGB(255, 255, 255)
            btn.TextSize = 13
            Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)

            local starBtn = Instance.new("TextButton", rowFrame)
            starBtn.BackgroundColor3 = Color3.fromRGB(165, 55, 55)
            starBtn.Position = UDim2.new(1, -34, 0, 0)
            starBtn.Size = UDim2.new(0, 34, 1, 0)
            starBtn.Font = Enum.Font.GothamBold
            starBtn.Text = "★"
            starBtn.TextColor3 = Color3.fromRGB(255, 215, 0)
            starBtn.TextSize = 16
            Instance.new("UICorner", starBtn).CornerRadius = UDim.new(0, 6)

            starBtn.MouseButton1Click:Connect(function()
                item.favorited = false
                renderList(SearchBox.Text)
            end)

            btn.MouseButton1Click:Connect(function()
                local success, errorMessage = pcall(function()
                    loadstring(game:HttpGet(item.url))()
                end)
                if not success then
                    warn("❌ [Ultimate Hub] Error loading " .. item.name .. ": " .. tostring(errorMessage))
                else
                    print("✅ [Ultimate Hub] Successfully executed: " .. item.name)
                end
            end)
        end
    end

    for _, catName in ipairs(categoryOrder) do
        local catItems = {}
        for _, item in ipairs(scriptsData) do
            if item.category == catName then
                if filterText == "" or string.find(item.name:lower(), filterText) then
                    table.insert(catItems, item)
                end
            end
        end

        if #catItems > 0 then
            orderID = orderID + 1
            local bar = Instance.new("Frame", ScrollingFrame)
            bar.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
            bar.Size = UDim2.new(1, -24, 0, 28)
            bar.LayoutOrder = orderID
            Instance.new("UICorner", bar).CornerRadius = UDim.new(0, 6)

            local lbl = Instance.new("TextLabel", bar)
            lbl.BackgroundTransparency = 1
            lbl.Size = UDim2.new(1, 0, 1, 0)
            lbl.Font = Enum.Font.GothamBold
            lbl.Text = "--- [ " .. catName .. " ] ---"
            lbl.TextColor3 = Color3.fromRGB(180, 180, 200)
            lbl.TextSize = 11

            for _, item in ipairs(catItems) do
                orderID = orderID + 1
                local rowFrame = Instance.new("Frame", ScrollingFrame)
                rowFrame.BackgroundTransparency = 1
                rowFrame.Size = UDim2.new(1, -24, 0, 34)
                rowFrame.LayoutOrder = orderID

                local btn = Instance.new("TextButton", rowFrame)
                btn.BackgroundColor3 = item.color
                btn.Size = UDim2.new(1, -40, 1, 0)
                btn.Font = Enum.Font.GothamSemibold
                btn.Text = item.name
                btn.TextColor3 = Color3.fromRGB(255, 255, 255)
                btn.TextSize = 13
                Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)

                local starBtn = Instance.new("TextButton", rowFrame)
                starBtn.BackgroundColor3 = Color3.fromRGB(165, 55, 55)
                starBtn.Position = UDim2.new(1, -34, 0, 0)
                starBtn.Size = UDim2.new(0, 34, 1, 0)
                starBtn.Font = Enum.Font.GothamBold
                starBtn.Text = "★"
                starBtn.TextColor3 = item.favorited and Color3.fromRGB(255, 215, 0) or Color3.fromRGB(255, 255, 255)
                starBtn.TextSize = 16
                Instance.new("UICorner", starBtn).CornerRadius = UDim.new(0, 6)

                starBtn.MouseButton1Click:Connect(function()
                    item.favorited = not item.favorited
                    renderList(SearchBox.Text)
                end)

                btn.MouseButton1Click:Connect(function()
                    local success, errorMessage = pcall(function()
                        loadstring(game:HttpGet(item.url))()
                    end)
                    if not success then
                        warn("❌ [Ultimate Hub] Error loading " .. item.name .. ": " .. tostring(errorMessage))
                    else
                        print("✅ [Ultimate Hub] Successfully executed: " .. item.name)
                    end
                end)
            end
        end
    end
end

SearchBox:GetPropertyChangedSignal("Text"):Connect(function()
    renderList(SearchBox.Text)
end)

renderList("")

Features & Information

to m̵̧̪̯̠̗͔̗̳͕͚̤̓͗͌̈́̄̾͒͗͌͊̃̀̉͜u̸̡̧̡͍̖̻͓̥̜͕͆̂̄͋͂̆͘͜͜ͅͅc̴̰̋͝h̵̯͖̘̮̹̦̱̠̠̖̤̓͗͗̐͌̔̀̃̋̍͜͠ͅ

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts