MTXS
Key RequiredUniversal

MTXS

Universal ScriptMatheusarrudasouzadMatheusarrudasouzad 16.4K views 353 executesUpdated Jun 16, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•533 lines (19995 chars)
--[[
    Script Completo para Brookhaven - Delta Executor
    Recursos: Movimento, Interação, Personalização e Outros.
    Use com responsabilidade e por sua conta e risco!
]]--

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local CoreGui = game:GetService("CoreGui")

-- ============== VARIÁVEIS GLOBAIS ==============
local noclipEnabled = false
local flyEnabled = false
local killAuraEnabled = false
local originalCollisionState = {}
local originalWalkSpeed = Humanoid.WalkSpeed
local originalJumpPower = Humanoid.JumpPower
local flySpeed = 100 -- Velocidade do voo
local killAuraRange = 50 -- Raio do Kill Aura
local killAuraDamage = 10 -- Dano do Kill Aura

-- ============== FUNÇÕES DE MOVIMENTO ==============

-- Noclip
local function toggleNoclip()
    noclipEnabled = not noclipEnabled
    for _, part in ipairs(Character:GetChildren()) do
        if part:IsA("BasePart") then
            if noclipEnabled then
                originalCollisionState[part] = part.CanCollide
                part.CanCollide = false
            else
                if originalCollisionState[part] ~= nil then
                    part.CanCollide = originalCollisionState[part]
                end
            end
        end
    end
    print("Noclip: " .. (noclipEnabled and "ATIVADO" or "DESATIVADO"))
    return noclipEnabled
end

-- Fly
local function toggleFly()
    flyEnabled = not flyEnabled
    if flyEnabled then
        Humanoid.PlatformStand = true
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Fly",
            Text = "Fly: ATIVADO. Use WSAD para mover, Espaço para subir, C para descer.",
            Duration = 5
        })
    else
        Humanoid.PlatformStand = false
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Fly",
            Text = "Fly: DESATIVADO.",
            Duration = 3
        })
    end
    print("Fly: " .. (flyEnabled and "ATIVADO" or "DESATIVADO"))
    return flyEnabled
end

RunService.RenderStepped:Connect(function()
    if flyEnabled and HumanoidRootPart then
        local cam = Workspace.CurrentCamera
        local moveDirection = Vector3.new()

        if UserInputService:IsKeyDown(Enum.KeyCode.W) then
            moveDirection = moveDirection + cam.CFrame.lookVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.S) then
            moveDirection = moveDirection - cam.CFrame.lookVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.A) then
            moveDirection = moveDirection - cam.CFrame.rightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.D) then
            moveDirection = moveDirection + cam.CFrame.rightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
            moveDirection = moveDirection + Vector3.new(0, 1, 0)
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.C) then
            moveDirection = moveDirection - Vector3.new(0, 1, 0)
        end

        HumanoidRootPart.CFrame = HumanoidRootPart.CFrame + moveDirection.unit * flySpeed * RunService.RenderStepped:Wait()
    end
end)


-- Teleporte
local commonTeleports = {
    ["Casa Aleatória"] = function() return CFrame.new(math.random(-1000, 1000), 10, math.random(-1000, 1000)) end,
    ["Hospital"] = CFrame.new(225, 10, -100),
    ["Delegacia"] = CFrame.new(100, 10, 150),
    ["Banco"] = CFrame.new(-50, 10, -200),
    ["Escola"] = CFrame.new(300, 10, 50),
    ["Ponte"] = CFrame.new(-200, 10, 300),
    ["Prefeitura"] = CFrame.new(50, 10, 0),
    ["Praia"] = CFrame.new(-400, 10, -500),
}

local function teleportTo(targetCFrame)
    if HumanoidRootPart and targetCFrame then
        HumanoidRootPart.CFrame = targetCFrame
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Teleporte",
            Text = "Teletransportado com sucesso!",
            Duration = 2
        })
    end
end

-- ============== FUNÇÕES DE INTERAÇÃO ==============

-- Kill Aura
local function toggleKillAura()
    killAuraEnabled = not killAuraEnabled
    print("Kill Aura: " .. (killAuraEnabled and "ATIVADO" or "DESATIVADO"))
    if killAuraEnabled then
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Kill Aura",
            Text = "Kill Aura: ATIVADO. CUIDADO: Alto risco de banimento!",
            Duration = 5
        })
    else
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Kill Aura",
            Text = "Kill Aura: DESATIVADO.",
            Duration = 3
        })
    end
    return killAuraEnabled
end

RunService.Heartbeat:Connect(function()
    if killAuraEnabled then
        for _, player in ipairs(Players:GetPlayers()) do
            if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
                local targetHRP = player.Character.HumanoidRootPart
                if (HumanoidRootPart.Position - targetHRP.Position).magnitude <= killAuraRange then
                    local targetHumanoid = player.Character:FindFirstChildOfClass("Humanoid")
                    if targetHumanoid and targetHumanoid.Health > 0 then
                        targetHumanoid:TakeDamage(killAuraDamage)
                    end
                end
            end
        end
    end
end)

-- TP para Jogador
local function tpToPlayer(playerName)
    local targetPlayer = Players:FindFirstChild(playerName)
    if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local targetHRP = targetPlayer.Character.HumanoidRootPart
        teleportTo(targetHRP.CFrame + Vector3.new(0, 5, 0)) -- Teleporta um pouco acima para evitar colisão
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Teleporte",
            Text = "Teletransportado para: " .. playerName,
            Duration = 3
        })
    else
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Erro",
            Text = "Jogador não encontrado ou sem HumanoidRootPart: " .. playerName,
            Duration = 3
        })
    end
end

-- ============== FUNÇÕES DE PERSONALIZAÇÃO ==============

-- Mudar Avatar (necessita IDs de Assets)
-- Exemplo: ChangeAvatar({Head = ID_CABECA, Torso = ID_TORSO, LeftArm = ID_BRACO_ESQUERDO, ...}, {Shirt = ID_CAMISA, Pants = ID_CALCA, Hair = ID_CABELO, ...})
local function changeAvatar(bodyPartIds, clothingAndAccessoryIds)
    local success = pcall(function()
        -- Exemplo simplificado para mudar algumas coisas. Roblox tem sistemas complexos de avatar.
        -- Para uma mudança completa, você precisaria de um script de carregamento de avatar mais sofisticado.
        -- Este é mais para aplicar IDs de roupas/acessórios.

        local characterAppearance = LocalPlayer:WaitForChild("CharacterAppearance") -- Se existir
        if characterAppearance then
            for assetType, assetId in pairs(clothingAndAccessoryIds) do
                -- Isso pode não funcionar diretamente para todos os tipos. Geralmente usa Humanoid:AddAccessory() ou URLs
                local assetUrl = "rbxassetid://" .. assetId
                -- Exemplo para roupas
                if assetType == "Shirt" then
                    local shirt = Character:FindFirstChildOfClass("Shirt") or Instance.new("Shirt")
                    shirt.ShirtTemplate = assetUrl
                    shirt.Parent = Character
                elseif assetType == "Pants" then
                    local pants = Character:FindFirstChildOfClass("Pants") or Instance.new("Pants")
                    pants.PantsTemplate = assetUrl
                    pants.Parent = Character
                -- Adicione mais para acessórios, etc., usando Instance.new("Accessory") e modelando o Handle
                end
            end
        end
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Personalização",
            Text = "Tentando mudar avatar... (Verifique IDs)",
            Duration = 3
        })
    end)
    if not success then
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Erro",
            Text = "Falha ao mudar avatar. (IDs ou API)",
            Duration = 3
        })
    end
end

-- Função para spawnar um carro pelo Asset ID
-- Note: Spawning cars often requires specific game permissions or events,
-- this might not work on all games/servers unless the game allows it.
local function spawnCar(assetId)
    local success, err = pcall(function()
        local carModel = game:GetService("InsertService"):LoadAsset(assetId)
        local car = carModel:FindFirstChildOfClass("Model")
        if car then
            car.Parent = Workspace
            car:SetPrimaryPartCFrame(HumanoidRootPart.CFrame * CFrame.new(0, 10, -10)) -- Spawn na frente do jogador
            LocalPlayer.PlayerGui:SetCore("SendNotification", {
                Title = "Carro",
                Text = "Carro (" .. assetId .. ") spawnado!",
                Duration = 3
            })
        else
             LocalPlayer.PlayerGui:SetCore("SendNotification", {
                Title = "Erro Carro",
                Text = "Asset ID não é um modelo de carro válido.",
                Duration = 3
            })
        end
    end)
    if not success then
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Erro Carro",
            Text = "Falha ao spawnar carro: " .. tostring(err),
            Duration = 3
        })
    end
end

-- ============== OUTRAS FUNÇÕES ==============

-- Anti-AFK
local antiAFKConnection = nil
local function toggleAntiAFK()
    if antiAFKConnection then
        antiAFKConnection:Disconnect()
        antiAFKConnection = nil
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Anti-AFK",
            Text = "Anti-AFK: DESATIVADO.",
            Duration = 3
        })
    else
        antiAFKConnection = RunService.Stepped:Connect(function()
            -- Simula um pequeno movimento para evitar AFK kick
            LocalPlayer.CameraMinZoomDistance = 0.5
            Humanoid.CameraOffset = Vector3.new(0, 0.001, 0)
            wait(0.1)
            Humanoid.CameraOffset = Vector3.new(0, 0, 0)
        end)
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Anti-AFK",
            Text = "Anti-AFK: ATIVADO.",
            Duration = 3
        })
    end
    return antiAFKConnection ~= nil
end

-- Remover Itens do Inventário (CUIDADO!)
local function clearInventory()
    local success = pcall(function()
        for _, item in ipairs(LocalPlayer.Backpack:GetChildren()) do
            item:Destroy()
        end
        for _, item in ipairs(Character:GetChildren()) do
            if item:IsA("Tool") then
                item:Destroy()
            end
        end
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Inventário",
            Text = "Inventário limpo!",
            Duration = 3
        })
    end)
    if not success then
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Erro",
            Text = "Falha ao limpar inventário.",
            Duration = 3
        })
    end
end

-- Recarregar Personagem
local function respawnCharacter()
    LocalPlayer:LoadCharacter()
    LocalPlayer.PlayerGui:SetCore("SendNotification", {
        Title = "Personagem",
        Text = "Personagem recarregado!",
        Duration = 3
    })
end

-- Remover Limites de Chat (Censura) - Pode não funcionar em todos os jogos
local function removeChatFilter()
    -- Este é um truque conhecido, mas pode ser patched rapidamente
    -- e não funciona em todos os sistemas de chat.
    local Chat = game:GetService("Chat")
    local success = pcall(function()
        if Chat then
            Chat:RemoveDefaultSystemMessage("ChatFilter")
            Chat:SetBubbleChatSettings({
                BubbleDuration = 30,
                MinBubbleDistance = 0,
                MaxBubbleDistance = 1000,
                Clarity = 1,
                Transparency = 0,
                AdorneeOffset = Vector3.new(0, 1.5, 0),
                CanBeFiltered = false -- A CHAVE
            })
        end
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Chat",
            Text = "Tentando remover filtro de chat... (Pode não funcionar)",
            Duration = 3
        })
    end)
    if not success then
        LocalPlayer.PlayerGui:SetCore("SendNotification", {
            Title = "Erro Chat",
            Text = "Falha ao tentar remover filtro de chat.",
            Duration = 3
        })
    end
end

-- ============== GUI (Graphical User Interface) ==============

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "BrookhavenSuperScriptGUI"
screenGui.Parent = CoreGui -- Use CoreGui para evitar que o jogo remova

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0.2, 0, 0.7, 0)
mainFrame.Position = UDim2.new(0.05, 0, 0.15, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3 = Color3.fromRGB(20, 20, 20)
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

local titleBar = Instance.new("TextLabel")
titleBar.Size = UDim2.new(1, 0, 0.08, 0)
titleBar.Text = "Brookhaven Mega Script"
titleBar.TextColor3 = Color3.fromRGB(255, 255, 255)
titleBar.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
titleBar.Font = Enum.Font.SourceSansBold
titleBar.TextSize = 20
titleBar.Parent = mainFrame

local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0.15, 0, 0.08, 0)
closeButton.Position = UDim2.new(0.85, 0, 0, 0)
closeButton.Text = "X"
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
closeButton.Font = Enum.Font.SourceSansBold
closeButton.TextSize = 20
closeButton.Parent = titleBar
closeButton.MouseButton1Click:Connect(function()
    screenGui:Destroy()
    -- Desativar funcionalidades que precisam ser desligadas
    if noclipEnabled then toggleNoclip() end
    if flyEnabled then toggleFly() end
    if killAuraEnabled then toggleKillAura() end
    if antiAFKConnection then toggleAntiAFK() end
end)

local ScrollingFrame = Instance.new("ScrollingFrame")
ScrollingFrame.Size = UDim2.new(1, 0, 0.92, 0)
ScrollingFrame.Position = UDim2.new(0, 0, 0.08, 0)
ScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) -- Será ajustado dinamicamente
ScrollingFrame.Parent = mainFrame

local layout = Instance.new("UIListLayout")
layout.FillDirection = Enum.FillDirection.Vertical
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.Padding = UDim.new(0, 5)
layout.Parent = ScrollingFrame

local function createButton(text, callback)
    local button = Instance.new("TextButton")
    button.Size = UDim2.new(0.9, 0, 0.07, 0)
    button.Text = text
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
    button.BorderColor3 = Color3.fromRGB(40, 40, 40)
    button.Font = Enum.Font.SourceSans
    button.TextSize = 16
    button.Parent = ScrollingFrame
    button.MouseButton1Click:Connect(callback)
    return button
end

local function createToggleButton(text, toggleFunc)
    local button = Instance.new("TextButton")
    button.Size = UDim2.new(0.9, 0, 0.07, 0)
    button.Text = text .. ": DESATIVADO"
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
    button.BorderColor3 = Color3.fromRGB(40, 40, 40)
    button.Font = Enum.Font.SourceSans
    button.TextSize = 16
    button.Parent = ScrollingFrame

    local function updateButtonText(active)
        button.Text = text .. ": " .. (active and "ATIVADO" or "DESATIVADO")
        button.BackgroundColor3 = active and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(80, 80, 80)
    end

    button.MouseButton1Click:Connect(function()
        local newState = toggleFunc()
        updateButtonText(newState)
    end)
    return button
end

local function createSlider(text, minVal, maxVal, initialVal, step, onValueChanged)
    local frame = Instance.new("Frame")
    frame.Size = UDim2.new(0.9, 0, 0.1, 0)
    frame.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
    frame.Parent = ScrollingFrame

    local label = Instance.new("TextLabel")
    label.Size = UDim2.new(1, 0, 0.4, 0)
    label.Text = text .. ": " .. initialVal
    label.TextColor3 = Color3.fromRGB(255, 255, 255)
    label.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
    label.Font = Enum.Font.SourceSans
    label.TextSize = 14
    label.Parent = frame

    local slider = Instance.new("Slider") -- assuming 'Slider' is available, or create custom
    -- A simple 'Slider' class is not native. We'll simulate with a TextButton and Value
    local value = initialVal
    local sliderButton = Instance.new("TextButton")
    sliderButton.Size = UDim2.new(0.9, 0, 0.5, 0)
    sliderButton.Position = UDim2.new(0.05, 0, 0.45, 0)
    sliderButton.Text = "Ajustar"
    sliderButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    sliderButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
    sliderButton.Font = Enum.Font.SourceSans
    sliderButton.TextSize = 14
    sliderButton.Parent = frame

    local isDragging = false
    local startMousePos = Vector2.zero
    local startValue = 0

    sliderButton.MouseButton1Down:Connect(function()
        isDragging = true
        startMousePos = UserInputService:GetMouseLocation()
        startValue = value
    end)

    UserInputService.InputChanged:Connect(function(input)
        if isDragging and input.UserInputType == Enum.UserInputType.MouseMovement then
            local deltaX = input.Position.X - startMousePos.X
            local newValue = startValue + (deltaX / sliderButton.AbsoluteSize.X) * (maxVal - minVal)
            newValue = math.clamp(newValue, minVal, maxVal)
            newValue = math.round(newValue / step) * step -- Snap to step
            value = newValue
            label.Text = text .. ": " .. string.format("%.1f", value)
            onValueChanged(value)
        end
    end)

    UserInputService.InputEnded:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 then
            isDragging = false
        end
    end)

    return frame
end


-- ============== ADICIONAR BOTÕES AO SCROLLING FRAME ==============

-- Movimento
createToggleButton("Noclip (P)", toggleNoclip)
createToggleButton("Fly", toggleFly)
createSlider("Speed", 16, 200, originalWalkSpeed, 1, function(val) Humanoid.WalkSpeed = val end)
createSlider("Jump Power", 50, 500, originalJumpPower, 1, function(val) Humanoid.JumpPower = val end)

createButton("Teleporte: Abrir Menu", function()
    local teleportFrame = Instance.new("Frame")
    teleportFrame.Size = UDim2.new(0.3, 0, 0.6, 0)
    teleportFrame.Position = UDim2.new(0.3, 0, 0.2, 0)
    teleportFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    teleportFrame.BorderSizePixel = 2
    teleportFrame.BorderColor3 = Color3.fromRGB(20, 20, 20)
    teleportFrame.Active = true
    teleportFrame.Draggable = true
    teleportFrame.Parent = screenGui

    local tpTitle = Instance.new("TextLabel")
    tpTitle.Size = UDim2.new(1, 0, 0.1, 0)
    tpTitle.Text = "Escolha um Teleporte"
    tpTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
    tpTitle.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
    tpTitle.Font = Enum.Font.SourceSansBold
    tpTitle.TextSize = 20

Features & Information

SCRIPT PARA BROOKHAVEN MELHOR DE TODOS MUITO EFICIENTE E BOM TESTE PARA VER
#MTXS

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts