Script Hub omnitrix V90 Ben 10
Key Required

Script Hub omnitrix V90 Ben 10

Brookhaven 🏡RPcd496773cd496773 1.4K views 1.4K executesUpdated Mar 30, 2026
Unrated
00
Lua Script•234 lines (8730 chars)
--[[
	OMNITRIX GUI V6.1 - CHAPOLIN TOOLS EDITION
	MODIFICAÇÕES: Chapolin ganha Marreta e Pílula (Tools), Goku Kamehameha, Massa Cinzenta 0.1, Gigante 10.0
]]

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

if playerGui:FindFirstChild("OmnitrixToolsGui") then
    playerGui.OmnitrixToolsGui:Destroy()
end

local flying = false
local speedFly = 70
local bv, bg

-- [[ DATABASE DOS ALIENS ]]
local aliens = {
    {name = "ARRAIÁ-JATO", scale = 1.0, speed = 60, toolName = "Voo", canFly = true, accs = {13172845397, 16371229066}},
    {name = "XLR8", scale = 1.0, speed = 250, toolName = "Super Velocidade", accs = {14987099479}},
    {name = "FRIAGEM", scale = 1.1, speed = 35, toolName = "Congelar", canFly = true, canFreeze = true, accs = {}},
    {name = "QUATRO BRAÇOS", scale = 1.4, speed = 24, toolName = "Super Soco", accs = {89671885174401}},
    {name = "MASSA CINZENTA", scale = 0.1, speed = 25, toolName = "Inteligência", accs = {}},
    {name = "GOKU", scale = 1.1, speed = 200, toolName = "Kamehameha", accs = {}},
    {name = "CHAPOLIN", scale = 1.0, speed = 45, toolName = "Marreta Biônica", special = "Chapolin", accs = {}},
    {name = "GIGANTE", scale = 10.0, speed = 40, toolName = "Pisada", accs = {}},
    {name = "RESTAURAR", scale = 1.0, speed = 16, toolName = nil, accs = {}}
}

local currentIdx = 1

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

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

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

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

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

local UseBtn = Instance.new("TextButton")
UseBtn.Size = UDim2.new(0.8, 0, 0.25, 0)
UseBtn.Position = UDim2.new(0.1, 0, 0.7, 0)
UseBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
UseBtn.Text = "TRANSFORMAR"
UseBtn.TextColor3 = Color3.new(1, 1, 1)
UseBtn.Font = Enum.Font.SourceSansBold
UseBtn.TextSize = 20
UseBtn.Parent = MainFrame
Instance.new("UICorner", UseBtn)

-- [[ FUNÇÕES AUXILIARES ]]
local function clearAccs()
    local char = player.Character
    if not char then return end
    for _, item in pairs(char:GetChildren()) do
        if item:IsA("Accessory") and item:GetAttribute("OmniAcc") then item:Destroy() end
    end
end

local function addAccessory(id)
    local char = player.Character
    if not char then return end
    task.spawn(function()
        local success, assets = pcall(function() return game:GetObjects("rbxassetid://" .. id) end)
        if success and assets and assets[1] then
            local acc = assets[1]
            acc.Parent = char
            acc:SetAttribute("OmniAcc", true)
            if acc:FindFirstChild("Handle") then acc.Handle.CanCollide = false end
        end
    end)
end

local function applyScale(hum, scale)
    local scales = {"BodyHeightScale", "BodyWidthScale", "BodyDepthScale", "HeadScale"}
    for _, sName in pairs(scales) do
        local sObj = hum:FindFirstChild(sName) or Instance.new("NumberValue", hum)
        sObj.Name = sName
        sObj.Value = scale
    end
end

-- [[ PODERES ESPECÍFICOS ]]
local function shootKamehameha()
    local char = player.Character
    local hrp = char:FindFirstChild("HumanoidRootPart")
    if not hrp then return end
    local beam = Instance.new("Part", workspace)
    beam.Anchored = true; beam.CanCollide = false; beam.Material = Enum.Material.Neon
    beam.Color = Color3.fromRGB(0, 190, 255); beam.Shape = Enum.PartType.Cylinder
    beam.Size = Vector3.new(100, 4, 4)
    beam.CFrame = CFrame.new(hrp.Position + hrp.CFrame.LookVector * 50, hrp.Position) * CFrame.Angles(0, math.rad(90), 0)
    game:GetService("Debris"):AddItem(beam, 0.5)
end

-- [[ SISTEMA DE TRANSFORMAÇÃO ]]
local function transform()
    local char = player.Character
    local hum = char:FindFirstChild("Humanoid")
    if not hum then return end
    
    flying = false
    if bv then bv:Destroy() end
    clearAccs()
    
    local data = aliens[currentIdx]
    applyScale(hum, data.scale)
    hum.WalkSpeed = data.speed

    -- Limpar Ferramentas Antigas do Omnitrix
    for _, item in pairs(backpack:GetChildren()) do if item:GetAttribute("Omni") then item:Destroy() end end
    for _, item in pairs(char:GetChildren()) do if item:IsA("Tool") and item:GetAttribute("Omni") then item:Destroy() end end
    
    -- Criar Ferramenta Principal
    if data.toolName then
        local tool = Instance.new("Tool")
        tool.Name = data.toolName
        tool.RequiresHandle = false
        tool:SetAttribute("Omni", true)
        tool.Parent = backpack
        
        tool.Activated:Connect(function()
            if data.canFly then 
                -- Voo Simples
                flying = not flying
                if flying then
                    bv = Instance.new("BodyVelocity", char.HumanoidRootPart)
                    bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                    task.spawn(function()
                        while flying do
                            bv.Velocity = mouse.Hit.LookVector * speedFly
                            task.wait()
                        end
                        bv:Destroy()
                    end)
                end
            end
            if data.name == "GOKU" then shootKamehameha() end
            if data.name == "GIGANTE" then
                local p = Instance.new("Part", workspace)
                p.Size = Vector3.new(20, 2, 20); p.CFrame = char.HumanoidRootPart.CFrame; p.Anchored = true
                p.Transparency = 0.7; p.Color = Color3.new(1,1,1); game:GetService("Debris"):AddItem(p, 0.4)
            end
            if data.name == "CHAPOLIN" then
                -- Efeito da Marreta
                local p = Instance.new("Part", workspace)
                p.Size = Vector3.new(12, 1, 12); p.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2,-4)
                p.Anchored = true; p.Color = Color3.new(1,1,0); p.Material = "Neon"; game:GetService("Debris"):AddItem(p, 0.2)
            end
        end)
    end

    -- ADICIONAR TOOLS EXTRAS DO CHAPOLIN
    if data.special == "Chapolin" then
        local pilula = Instance.new("Tool")
        pilula.Name = "Pílula Encolhedora"
        pilula.RequiresHandle = false
        pilula:SetAttribute("Omni", true)
        pilula.Parent = backpack
        pilula.Activated:Connect(function()
            applyScale(hum, 0.2)
            task.wait(10)
            applyScale(hum, 1.0)
        end)

        local buzina = Instance.new("Tool")
        buzina.Name = "Buzina Paralisadora"
        buzina.RequiresHandle = false
        buzina:SetAttribute("Omni", true)
        buzina.Parent = backpack
        buzina.Activated:Connect(function()
            if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then
                local targetHum = mouse.Target.Parent.Humanoid
                targetHum.WalkSpeed = 0
                task.wait(3)
                targetHum.WalkSpeed = 16
            end
        end)
    end

    if data.accs then for _, id in pairs(data.accs) do addAccessory(id) end end
end

-- Eventos de Interface
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)
AlienTitle.Text = aliens[currentIdx].name

Features & Information

Op script
#Script

Community Comments (0)

No comments yet for this script.

More Scripts for Brookhaven 🏡RP