Void Settings Menu
Key RequiredUniversal

Void Settings Menu

Universal ScriptNPC_PlayersNoob_AltNPC_PlayersNoob_Alt 73 views 530 executesUpdated Jul 11, 2026
Unrated
00
Lua Script•393 lines (14216 chars)
-- =======================================================
-- VOID CONTROL MATRIX (V7.7 - FORCE PULL FROM SAFE -492)
-- =======================================================

local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")

local LocalPlayer = Players.LocalPlayer

-- Re-execution cleanup
if CoreGui:FindFirstChild("VoidMatrixV7") then
    CoreGui.VoidMatrixV7:Destroy()
end

-- ScreenGui Setup
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "VoidMatrixV7"
ScreenGui.Parent = (gethui and gethui()) or CoreGui or LocalPlayer:WaitForChild("PlayerGui")

-- Main Container Frame
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 260, 0, 450)
MainFrame.Position = UDim2.new(0.1, 0, 0.18, 0)
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 17, 23)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = MainFrame

local UIStroke = Instance.new("UIStroke")
UIStroke.Color = Color3.fromRGB(0, 255, 200)
UIStroke.Thickness = 1.5
UIStroke.Transparency = 0.5
UIStroke.Parent = MainFrame

-- Header Bar
local Header = Instance.new("Frame")
Header.Size = UDim2.new(1, 0, 0, 40)
Header.BackgroundColor3 = Color3.fromRGB(22, 26, 36)
Header.BorderSizePixel = 0
Header.Parent = MainFrame
Instance.new("UICorner", Header).CornerRadius = UDim.new(0, 10)

local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 1, 0)
Title.Text = "⚡ VOID MATRIX V7.7"
Title.TextColor3 = Color3.fromRGB(0, 255, 200)
Title.BackgroundTransparency = 1
Title.Font = Enum.Font.GothamBold
Title.TextSize = 15
Title.Parent = Header

-- Global State Management
local state = {
    voidProtection = false,
    customHeight = -500,
    godInVoid = false,
    infiniteDeath = false,
    antiFling = true
}

local godLoopConnection = nil
local deathLoopConnection = nil

-- UI Helper Function
local function CreateButton(text, posY, isDangerous)
    local Btn = Instance.new("TextButton")
    Btn.Size = UDim2.new(0.9, 0, 0, 32)
    Btn.Position = UDim2.new(0.05, 0, 0, posY)
    Btn.Text = text
    Btn.Font = Enum.Font.GothamSemibold
    Btn.TextSize = 12
    Btn.AutoButtonColor = true
    Btn.Parent = MainFrame
    
    local Corner = Instance.new("UICorner")
    Corner.CornerRadius = UDim.new(0, 6)
    Corner.Parent = Btn
    
    local Stroke = Instance.new("UIStroke")
    Stroke.Thickness = 1
    Stroke.Parent = Btn

    if isDangerous then
        Btn.BackgroundColor3 = Color3.fromRGB(140, 20, 40)
        Btn.TextColor3 = Color3.fromRGB(255, 200, 200)
        Stroke.Color = Color3.fromRGB(255, 60, 80)
    else
        Btn.BackgroundColor3 = Color3.fromRGB(28, 33, 46)
        Btn.TextColor3 = Color3.fromRGB(180, 190, 200)
        Stroke.Color = Color3.fromRGB(45, 52, 70)
    end
    
    return Btn, Stroke
end

-- [1] TOGGLE: Void Protection
local ToggleVoid, VoidStroke = CreateButton("Void Protection: OFF", 48, false)

-- [2] TEXTBOX: Custom Void Height
local HeightContainer = Instance.new("Frame")
HeightContainer.Size = UDim2.new(0.9, 0, 0, 32)
HeightContainer.Position = UDim2.new(0.05, 0, 0, 85)
HeightContainer.BackgroundColor3 = Color3.fromRGB(24, 28, 38)
HeightContainer.Parent = MainFrame
Instance.new("UICorner", HeightContainer).CornerRadius = UDim.new(0, 6)

local HeightLabel = Instance.new("TextLabel")
HeightLabel.Size = UDim2.new(0.55, 0, 1, 0)
HeightLabel.Position = UDim2.new(0.05, 0, 0, 0)
HeightLabel.Text = "Custom Height:"
HeightLabel.TextColor3 = Color3.fromRGB(150, 160, 180)
HeightLabel.BackgroundTransparency = 1
HeightLabel.Font = Enum.Font.Gotham
HeightLabel.TextSize = 12
HeightLabel.TextXAlignment = Enum.TextXAlignment.Left
HeightLabel.Parent = HeightContainer

local HeightInput = Instance.new("TextBox")
HeightInput.Size = UDim2.new(0.35, 0, 0.7, 0)
HeightInput.Position = UDim2.new(0.6, 0, 0.15, 0)
HeightInput.Text = "-500"
HeightInput.BackgroundColor3 = Color3.fromRGB(15, 17, 23)
HeightInput.TextColor3 = Color3.fromRGB(0, 255, 200)
HeightInput.Font = Enum.Font.GothamBold
HeightInput.TextSize = 12
HeightInput.Parent = HeightContainer
Instance.new("UICorner", HeightInput).CornerRadius = UDim.new(0, 4)

-- [3] TOGGLE: Void GodMode
local ToggleGod, GodStroke = CreateButton("TP to Void GodMode: OFF", 122, false)

-- [4] TOGGLE: Anti-Fling
local AntiFlingBtn, FlingStroke = CreateButton("🛡️ Anti-Fling (No-Collide): ON", 159, false)
AntiFlingBtn.TextColor3 = Color3.fromRGB(0, 255, 180)
FlingStroke.Color = Color3.fromRGB(0, 255, 180)

-- [5] BUTTON: SINGLE CONSUME BY VOID
local ConsumeBtn = CreateButton("🌌 SINGLE VOID CONSUME 🌌", 196, true)

-- [6] TOGGLE: INFINITE VOID DEATH LOOP
local InfiniteDeathBtn, InfiniteStroke = CreateButton("☠️ INFINITE DEATH LOOP: OFF ☠️", 233, true)

-- Status Display Indicator
local StatusBox = Instance.new("Frame")
StatusBox.Size = UDim2.new(0.9, 0, 0, 155)
StatusBox.Position = UDim2.new(0.05, 0, 0, 275)
StatusBox.BackgroundColor3 = Color3.fromRGB(10, 12, 16)
StatusBox.Parent = MainFrame
Instance.new("UICorner", StatusBox).CornerRadius = UDim.new(0, 6)

local StatusText = Instance.new("TextLabel")
StatusText.Size = UDim2.new(0.9, 0, 0.9, 0)
StatusText.Position = UDim2.new(0.05, 0, 0.05, 0)
StatusText.Text = "Status: Ready\nForce-Pull Active (-492 -> Deep Void)"
StatusText.TextColor3 = Color3.fromRGB(120, 255, 120)
StatusText.BackgroundTransparency = 1
StatusText.Font = Enum.Font.Gotham
StatusText.TextSize = 11
StatusText.TextWrapped = true
StatusText.TextYAlignment = Enum.TextYAlignment.Top
StatusText.Parent = StatusBox


-- =======================================================
-- SYSTEM CORE LOGIC & FORCE PULL
-- =======================================================

-- 防甩飞循环
RunService.Stepped:Connect(function()
    if state.antiFling then
        local myChar = LocalPlayer.Character
        if myChar then
            for _, otherPlayer in ipairs(Players:GetPlayers()) do
                if otherPlayer ~= LocalPlayer and otherPlayer.Character then
                    for _, part in ipairs(otherPlayer.Character:GetDescendants()) do
                        if part:IsA("BasePart") then
                            part.CanCollide = false
                        end
                    end
                end
            end
        end
    end
end)

local function ApplyVoidHeight()
    if state.infiniteDeath then
        Workspace.FallenPartsDestroyHeight = state.customHeight
    elseif state.voidProtection or state.godInVoid then
        Workspace.FallenPartsDestroyHeight = 0/0
    else
        Workspace.FallenPartsDestroyHeight = state.customHeight
    end
end

-- 3帧验证 + 精确TP到-492 + 强行拉进虚空 (Force-Pull Mechanism)
local function ForcePullToVoid(char)
    if not char then return end
    Workspace.FallenPartsDestroyHeight = state.customHeight
    
    task.spawn(function()
        local hrp = char:WaitForChild("HumanoidRootPart", 5)
        local humanoid = char:WaitForChild("Humanoid", 5)
        if not hrp or not humanoid then return end
        
        -- 精确确认 3 物理帧加载完毕
        local frameCount = 0
        local frameConnection
        frameConnection = RunService.PreSimulation:Connect(function()
            frameCount = frameCount + 1
            if frameCount >= 3 then
                frameConnection:Disconnect()
                
                if not char:IsDescendantOf(Workspace) or humanoid.Health <= 0 then return end
                
                -- 1. 清理角色上所有阻挡下落的物理力元件(防止被挂在空中)
                for _, obj in ipairs(hrp:GetChildren()) do
                    if obj:IsA("BodyVelocity") or obj:IsA("BodyPosition") or obj:IsA("LinearVelocity") or obj:IsA("VectorForce") then
                        obj:Destroy()
                    end
                end
                
                -- 2. 关闭碰撞
                for _, part in ipairs(char:GetDescendants()) do
                    if part:IsA("BasePart") then
                        part.CanCollide = false
                    end
                end
                
                -- 3. 传送至 -492
                hrp.CFrame = CFrame.new(hrp.Position.X, -492, hrp.Position.Z)
                
                -- 4. 强行施加巨大的向下牵引力/速度(Force Pull into Void)
                hrp.AssemblyLinearVelocity = Vector3.new(0, -800, 0)
            end
        end)
    end)
end

-- 1. Void Protection Action
ToggleVoid.MouseButton1Click:Connect(function()
    if state.infiniteDeath then return end
    state.voidProtection = not state.voidProtection
    ApplyVoidHeight()
    
    if state.voidProtection then
        ToggleVoid.Text = "Void Protection: ON"
        ToggleVoid.TextColor3 = Color3.fromRGB(0, 255, 180)
        VoidStroke.Color = Color3.fromRGB(0, 255, 180)
        StatusText.Text = "Status: Protection Active\nHeight Override: NaN"
        StatusText.TextColor3 = Color3.fromRGB(0, 255, 180)
    else
        ToggleVoid.Text = "Void Protection: OFF"
        ToggleVoid.TextColor3 = Color3.fromRGB(180, 190, 200)
        VoidStroke.Color = Color3.fromRGB(45, 52, 70)
        StatusText.Text = "Status: Protection OFF\nHeight set to: " .. state.customHeight
        StatusText.TextColor3 = Color3.fromRGB(255, 180, 0)
    end
end)

-- 2. Custom Height Box
HeightInput.FocusLost:Connect(function()
    local val = tonumber(HeightInput.Text)
    if val then
        state.customHeight = val
        ApplyVoidHeight()
        StatusText.Text = "Status: Height Set to " .. val
    else
        HeightInput.Text = tostring(state.customHeight)
    end
end)

-- 3. TP to Void GodMode
ToggleGod.MouseButton1Click:Connect(function()
    if state.infiniteDeath then return end
    state.godInVoid = not state.godInVoid
    
    if state.godInVoid then
        ApplyVoidHeight()
        ToggleGod.Text = "TP to Void GodMode: ON"
        ToggleGod.TextColor3 = Color3.fromRGB(0, 255, 200)
        GodStroke.Color = Color3.fromRGB(0, 255, 200)
        StatusText.Text = "Status: Void GodMode Active\nFloating safely in deep void."
        StatusText.TextColor3 = Color3.fromRGB(0, 255, 200)
        
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("HumanoidRootPart") then
            char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1000, 0)
        end
        
        if godLoopConnection then godLoopConnection:Disconnect() end
        godLoopConnection = RunService.Heartbeat:Connect(function()
            local character = LocalPlayer.Character
            if character and character:FindFirstChild("HumanoidRootPart") then
                character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
            end
        end)
    else
        if godLoopConnection then 
            godLoopConnection:Disconnect()
            godLoopConnection = nil
        end
        
        ApplyVoidHeight()
        ToggleGod.Text = "TP to Void GodMode: OFF"
        ToggleGod.TextColor3 = Color3.fromRGB(180, 190, 200)
        GodStroke.Color = Color3.fromRGB(45, 52, 70)
        
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("HumanoidRootPart") then
            char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position.X, 50, char.HumanoidRootPart.Position.Z)
        end
        StatusText.Text = "Status: Returned to Surface"
        StatusText.TextColor3 = Color3.fromRGB(120, 255, 120)
    end
end)

-- 4. Toggle Anti-Fling
AntiFlingBtn.MouseButton1Click:Connect(function()
    state.antiFling = not state.antiFling
    if state.antiFling then
        AntiFlingBtn.Text = "🛡️ Anti-Fling (No-Collide): ON"
        AntiFlingBtn.TextColor3 = Color3.fromRGB(0, 255, 180)
        FlingStroke.Color = Color3.fromRGB(0, 255, 180)
        StatusText.Text = "Status: Anti-Fling ENABLED.\nPlayer collisions disabled."
    else
        AntiFlingBtn.Text = "🛡️ Anti-Fling (No-Collide): OFF"
        AntiFlingBtn.TextColor3 = Color3.fromRGB(180, 190, 200)
        FlingStroke.Color = Color3.fromRGB(45, 52, 70)
        StatusText.Text = "Status: Anti-Fling DISABLED."
    end
end)

-- 5. SINGLE CONSUME BY VOID
ConsumeBtn.MouseButton1Click:Connect(function()
    if state.infiniteDeath then return end
    StatusText.Text = "Status: TP to -492...\nForce-Pulling (-800 Velocity) into Void!"
    StatusText.TextColor3 = Color3.fromRGB(255, 160, 80)
    
    ForcePullToVoid(LocalPlayer.Character)
    
    task.delay(2, function()
        ApplyVoidHeight()
        StatusText.Text = "Status: Void Consumed Successfully.\nSystem Resetted."
        StatusText.TextColor3 = Color3.fromRGB(0, 255, 180)
    end)
end)

-- 6. INFINITE VOID DEATH LOOP
InfiniteDeathBtn.MouseButton1Click:Connect(function()
    state.infiniteDeath = not state.infiniteDeath
    
    if state.infiniteDeath then
        state.customHeight = -500
        HeightInput.Text = "-500"
        ApplyVoidHeight()
        
        InfiniteDeathBtn.Text = "☠️ INFINITE DEATH LOOP: ON ☠️"
        InfiniteDeathBtn.BackgroundColor3 = Color3.fromRGB(220, 20, 40)
        InfiniteStroke.Color = Color3.fromRGB(255, 0, 0)
        StatusText.Text = "Status: FORCE PULL LOOP ACTIVE!\nTP: -492 | Force Pull: -800 Y Vel\nAuto-death upon every respawn."
        StatusText.TextColor3 = Color3.fromRGB(255, 50, 50)
        
        ForcePullToVoid(LocalPlayer.Character)
        
        deathLoopConnection = LocalPlayer.CharacterAdded:Connect(function(newChar)
            if state.infiniteDeath then
                ForcePullToVoid(newChar)
            end
        end)
    else
        if deathLoopConnection then
            deathLoopConnection:Disconnect()
            deathLoopConnection = nil
        end
        
        InfiniteDeathBtn.Text = "☠️ INFINITE DEATH LOOP: OFF ☠️"
        InfiniteDeathBtn.BackgroundColor3 = Color3.fromRGB(140, 20, 40)
        InfiniteStroke.Color = Color3.fromRGB(255, 60, 80)
        
        ApplyVoidHeight()
        StatusText.Text = "Status: Death Loop Disabled.\nNormal Operations Restored."
        StatusText.TextColor3 = Color3.fromRGB(120, 255, 120)
    end
end)

Features & Information

More features you need find it
#Void Protection#Anti Void#Anti void#Antivoid

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts