Omnitrix hub
Key Required

Omnitrix hub

Brookhaven 🏡RPcd496773cd496773 1.2K views 310 executesUpdated Mar 30, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•167 lines (7173 chars)
-- [[ OMNITRIX HUB V11 - ULTRA T ROXO & HIDE GUI ]]
-- MODIFICAÇÕES: Ultra T (Preto/Roxo), Botão Ocultar, Escala 0.1 e 10.0 (Anti-Reset).

local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local backpack = player:WaitForChild("Backpack")

-- Limpeza de versões antigas
if playerGui:FindFirstChild("OmnitrixToolsGui") then
    playerGui.OmnitrixToolsGui:Destroy()
end

local currentScale = 1.0
local ultraTEffect = nil
local guiVisible = true

-- [[ DATABASE ]]
local aliens = {
    {name = "ARRAIÁ-JATO", scale = 1.0, speed = 60, toolName = "Voo"},
    {name = "XLR8", scale = 1.0, speed = 250, toolName = "Super Velocidade"},
    {name = "FRIAGEM", scale = 1.1, speed = 35, toolName = "Congelar"},
    {name = "QUATRO BRAÇOS", scale = 1.4, speed = 24, toolName = "Super Soco"},
    {name = "MASSA CINZENTA", scale = 0.1, speed = 25, toolName = "Inteligência"},
    {name = "ULTRA T", scale = 1.1, speed = 50, toolName = "Upgrade Roxo", special = "UltraT"},
    {name = "GOKU", scale = 1.1, speed = 200, toolName = "Kamehameha"},
    {name = "CHAPOLIN", scale = 1.0, speed = 45, toolName = "Marreta Biônica", special = "Chapolin"},
    {name = "GIGANTE", scale = 10.0, speed = 40, toolName = "Pisada"},
    {name = "RESTAURAR", scale = 1.0, speed = 16, toolName = nil}
}

local currentIdx = 1

-- [[ INTERFACE PRINCIPAL ]]
local ScreenGui = Instance.new("ScreenGui", playerGui)
ScreenGui.Name = "OmnitrixToolsGui"
ScreenGui.ResetOnSpawn = false

local MainFrame = Instance.new("Frame", ScreenGui)
MainFrame.Size = UDim2.new(0, 300, 0, 180)
MainFrame.Position = UDim2.new(0.35, 0, 0.3, 0)
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
MainFrame.BorderSizePixel = 2
MainFrame.BorderColor3 = Color3.fromRGB(128, 0, 255)
MainFrame.Active = true
MainFrame.Draggable = true 
Instance.new("UICorner", MainFrame)

-- Botão para Ocultar/Mostrar (Fica flutuando no canto)
local ToggleBtn = Instance.new("TextButton", ScreenGui)
ToggleBtn.Size = UDim2.new(0, 80, 0, 30)
ToggleBtn.Position = UDim2.new(0, 10, 0.5, 0)
ToggleBtn.BackgroundColor3 = Color3.fromRGB(128, 0, 255)
ToggleBtn.Text = "OCULTAR"
ToggleBtn.TextColor3 = Color3.new(1, 1, 1)
ToggleBtn.Font = Enum.Font.SourceSansBold
ToggleBtn.TextSize = 14
Instance.new("UICorner", ToggleBtn)

local AlienTitle = Instance.new("TextLabel", MainFrame)
AlienTitle.Size = UDim2.new(1, 0, 0.4, 0)
AlienTitle.BackgroundTransparency = 1
AlienTitle.Text = "SELECIONE"
AlienTitle.TextColor3 = Color3.fromRGB(128, 0, 255)
AlienTitle.TextSize = 30
AlienTitle.Font = Enum.Font.Cartoon

local NextBtn = Instance.new("TextButton", MainFrame)
NextBtn.Size = UDim2.new(0, 60, 0, 45); NextBtn.Position = UDim2.new(0.75, 0, 0.35, 0)
NextBtn.Text = "👉"; NextBtn.TextSize = 40; NextBtn.BackgroundTransparency = 1; NextBtn.TextColor3 = Color3.new(1, 1, 1)

local BackBtn = Instance.new("TextButton", MainFrame)
BackBtn.Size = UDim2.new(0, 60, 0, 45); BackBtn.Position = UDim2.new(0.05, 0, 0.35, 0)
BackBtn.Text = "👈"; BackBtn.TextSize = 40; BackBtn.BackgroundTransparency = 1; BackBtn.TextColor3 = Color3.new(1, 1, 1)

local UseBtn = Instance.new("TextButton", MainFrame)
UseBtn.Size = UDim2.new(0.8, 0, 0.2, 0); UseBtn.Position = UDim2.new(0.1, 0, 0.75, 0)
UseBtn.BackgroundColor3 = Color3.fromRGB(75, 0, 130); UseBtn.Text = "TRANSFORMAR"
UseBtn.TextColor3 = Color3.new(1, 1, 1); UseBtn.Font = Enum.Font.SourceSansBold; UseBtn.TextSize = 18
Instance.new("UICorner", UseBtn)

-- [[ LOOP DE ESCALA INVISÍVEL (REFORÇADO) ]]
task.spawn(function()
    while true do
        local char = player.Character
        local hum = char and char:FindFirstChild("Humanoid")
        if hum then
            for _, sName in pairs({"BodyHeightScale", "BodyWidthScale", "BodyDepthScale", "HeadScale"}) do
                local sObj = hum:FindFirstChild(sName)
                if sObj and math.abs(sObj.Value - currentScale) > 0.001 then
                    sObj.Value = currentScale
                end
            end
        end
        task.wait(0.05)
    end
end)

-- [[ FUNÇÃO DE TRANSFORMAÇÃO ]]
local function transform()
    local char = player.Character
    if not char or not char:FindFirstChild("Humanoid") then return end
    
    local data = aliens[currentIdx]
    currentScale = data.scale
    char.Humanoid.WalkSpeed = data.speed

    -- Limpeza de efeitos
    if ultraTEffect then ultraTEffect:Destroy(); ultraTEffect = nil end
    for _, part in pairs(char:GetChildren()) do
        if part:IsA("BasePart") then part.Color = Color3.new(1,1,1); part.Material = "SmoothPlastic" end
    end
    for _, item in pairs(char:GetChildren()) do if item:IsA("Tool") and item:GetAttribute("Omni") then item:Destroy() end end
    for _, item in pairs(backpack:GetChildren()) do if item:GetAttribute("Omni") then item:Destroy() end end

    -- VISUAL ULTRA T (PRETO E ROXO)
    if data.name == "ULTRA T" then
        for _, part in pairs(char:GetChildren()) do
            if part:IsA("BasePart") then
                part.Color = Color3.new(0, 0, 0)
                part.Material = "Neon"
            end
        end
        ultraTEffect = Instance.new("SelectionBox", char)
        ultraTEffect.Adornee = char
        ultraTEffect.Color3 = Color3.fromRGB(128, 0, 255)
        ultraTEffect.LineThickness = 0.04
    end

    -- Poderes
    if data.toolName then
        local tool = Instance.new("Tool", backpack)
        tool.Name = data.toolName; tool.RequiresHandle = false; tool:SetAttribute("Omni", true)
        tool.Activated:Connect(function()
            if data.special == "UltraT" then
                local p = Instance.new("Part", workspace)
                p.Size = Vector3.new(1,1,1); p.Shape = "Ball"; p.Anchored = true; p.CanCollide = false
                p.Color = Color3.fromRGB(128, 0, 255); p.Material = "Neon"; p.CFrame = char.HumanoidRootPart.CFrame
                task.spawn(function()
                    for i=1, 25 do p.Size = Vector3.new(i,i,i); p.Transparency = i/25; task.wait() end
                    p:Destroy()
                end)
            elseif data.name == "GIGANTE" then
                local s = Instance.new("Part", workspace)
                s.Size = Vector3.new(70, 2, 70); s.Anchored = true; s.CFrame = char.HumanoidRootPart.CFrame
                s.Transparency = 0.5; game.Debris:AddItem(s, 0.4)
            end
        end)
    end
    
    -- Flash de Transformação
    local f = Instance.new("Frame", ScreenGui)
    f.Size = UDim2.new(1,0,1,0); f.BackgroundColor3 = Color3.new(0,1,0)
    task.spawn(function() for i=0,1,0.1 do f.BackgroundTransparency=i; task.wait(0.05) end; f:Destroy() end)
end

-- Configuração dos Botões
NextBtn.MouseButton1Click:Connect(function() currentIdx = currentIdx % #aliens + 1; AlienTitle.Text = aliens[currentIdx].name end)
BackBtn.MouseButton1Click:Connect(function() currentIdx = (currentIdx - 2) % #aliens + 1; AlienTitle.Text = aliens[currentIdx].name end)
UseBtn.MouseButton1Click:Connect(transform)

ToggleBtn.MouseButton1Click:Connect(function()
    guiVisible = not guiVisible
    MainFrame.Visible = guiVisible
    ToggleBtn.Text = guiVisible and "OCULTAR" or "MOSTRAR"
end)

AlienTitle.Text = aliens[currentIdx].name

Features & Information

Op
#Op script

Community Comments (0)

No comments yet for this script.

More Scripts for Brookhaven 🏡RP