Universal Script – anti menu - Verified script for Universal Roblox
Key RequiredUniversal

Universal Script – anti menu

Universal Scriptnoplsnopls 604 views 1.3K executesUpdated Oct 10, 2026
Unrated
00
Lua Script•176 lines (5751 chars)
-- SWILL Anti-Menu v5.0 – Xeno Edition + ESC Block
-- (c) Swill Way, 2026

local Players              = game:GetService("Players")
local UserInputService     = game:GetService("UserInputService")
local RunService           = game:GetService("RunService")
local TweenService         = game:GetService("TweenService")
local VirtualInputManager  = game:GetService("VirtualInputManager")
local GuiService           = game:GetService("GuiService")

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

local ZONE_SIZE  = 90
local PUSH_FORCE = 350
local COOLDOWN   = 1.0

-- ===== ДВИЖЕНИЕ КУРСОРА =====
local function moveCursor(dx, dy)
    if mousemoverel then
        if pcall(mousemoverel, dx, dy) then return true end
    end
    if Input and Input.MouseMoveRel then
        if pcall(function() Input.MouseMoveRel(dx, dy) end) then return true end
    end
    if pcall(function()
        local c = UserInputService:GetMouseLocation()
        VirtualInputManager:SendMouseMoveEvent(Vector2.new(c.X+dx, c.Y+dy), false, game)
    end) then return true end
    local mouse = player:GetMouse()
    if mouse and mouse.MoveRelative then
        if pcall(function() mouse:MoveRelative(dx, dy) end) then return true end
    end
    return false
end

local function pushFromCorner()
    local cursor = UserInputService:GetMouseLocation()
    local dir = Vector2.new(cursor.X, cursor.Y)
    if dir.Magnitude < 1 then dir = Vector2.new(1, 1) end
    dir = dir.Unit
    local target = Vector2.new(dir.X * PUSH_FORCE, dir.Y * PUSH_FORCE)
    local vp = workspace.CurrentCamera.ViewportSize
    target = Vector2.new(math.clamp(target.X,150,vp.X-20), math.clamp(target.Y,150,vp.Y-20))
    local dx = target.X - cursor.X
    local dy = target.Y - cursor.Y
    for _ = 1, 4 do
        moveCursor(dx, dy)
        task.wait()
    end
    return true
end

-- ===== НАДПИСЬ "НЕТ" =====
local gui = Instance.new("ScreenGui")
gui.Name = "SWILL_AntiMenu"
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 9999
gui.Parent = playerGui

local noLabel = Instance.new("TextLabel")
noLabel.Size = UDim2.new(0, 450, 0, 160)
noLabel.Position = UDim2.new(0.5, -225, 0.5, -80)
noLabel.BackgroundColor3 = Color3.new(0, 0, 0)
noLabel.BackgroundTransparency = 0.3
noLabel.Text = "НЕТ"
noLabel.TextColor3 = Color3.new(1, 0, 0)
noLabel.TextScaled = true
noLabel.Font = Enum.Font.FredokaOne
noLabel.TextStrokeTransparency = 0
noLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
noLabel.Visible = false
noLabel.ZIndex = 100
noLabel.Parent = gui

local stroke = Instance.new("UIStroke")
stroke.Color = Color3.new(1, 1, 1)
stroke.Thickness = 5
stroke.Parent = noLabel

local lastTriggered = 0
local function showNo()
    local now = tick()
    if now - lastTriggered < COOLDOWN then return end
    lastTriggered = now
    noLabel.Visible = true
    noLabel.TextTransparency = 0
    noLabel.TextStrokeTransparency = 0
    noLabel.BackgroundTransparency = 0.3
    noLabel.Position = UDim2.new(0.5, -225+math.random(-20,20), 0.5, -80+math.random(-20,20))
    task.spawn(function()
        task.wait(0.8)
        local tw = TweenService:Create(noLabel,
            TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
            {TextTransparency=1, TextStrokeTransparency=1, BackgroundTransparency=1})
        tw:Play(); tw.Completed:Wait(); noLabel.Visible = false
    end)
end

-- ===== ОСНОВНОЙ ЦИКЛ =====
RunService.RenderStepped:Connect(function()
    local cursor = UserInputService:GetMouseLocation()
    if cursor.X <= ZONE_SIZE and cursor.Y <= ZONE_SIZE then
        if pushFromCorner() then showNo() end
    end
end)

task.spawn(function()
    while task.wait(0.01) do
        local cursor = UserInputService:GetMouseLocation()
        if cursor.X <= ZONE_SIZE and cursor.Y <= ZONE_SIZE then
            pushFromCorner()
        end
    end
end)

-- ===== КЛИКИ =====
UserInputService.InputBegan:Connect(function(input, gp)
    if gp then return end
    if input.UserInputType == Enum.UserInputType.MouseButton1
    or input.UserInputType == Enum.UserInputType.Touch then
        local pos = input.Position
        if pos.X <= ZONE_SIZE and pos.Y <= ZONE_SIZE then
            pushFromCorner(); showNo()
        end
    end
end)

-- ===== ESC → ЗАКРЫТИЕ ROBLOX МЕНЮ =====
local menuBlockEnabled = true

GuiService.MenuOpened:Connect(function()
    if not menuBlockEnabled then return end
    task.spawn(function()
        task.wait(0.01)
        pcall(function() GuiService:SetMenuIsOpen(false) end)
    end)
end)

UserInputService.InputBegan:Connect(function(input, gp)
    if input.KeyCode == Enum.KeyCode.Escape then
        if not menuBlockEnabled then return end
        task.spawn(function()
            task.wait(0.02)
            pcall(function() GuiService:SetMenuIsOpen(false) end)
            task.wait(0.05)
            pcall(function()
                if GuiService.MenuIsOpen then
                    VirtualInputManager:SendKeyEvent(true,  Enum.KeyCode.Escape, false, game)
                    VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Escape, false, game)
                end
            end)
        end)
    end
end)

pcall(function()
    game:GetService("ContextActionService"):BindActionAtPriority(
        "SWILL_BlockESC",
        function(_, state)
            if state == Enum.UserInputState.Begin then
                return Enum.ContextActionResult.Sink
            end
            return Enum.ContextActionResult.Pass
        end,
        false, 9999, Enum.KeyCode.Escape
    )
end)

_G.SWILL_ToggleMenuBlock = function(state)
    menuBlockEnabled = state
    print("[SWILL] Menu block: " .. (state and "ON" or "OFF"))
end

print("[SWILL] Anti-Menu v5.0 активен! ESC заблокирован.")

How to Execute Universal Script – anti menu

Step 1: Copy Code: Click the Copy Code button in the viewer above to grab the clean Lua loadstring.

Step 2: Launch Executor: Open a compatible, unpatched executor. If you need one, check our Roblox Executors Directory.

Step 3: Join Experience: Launch Roblox and join Universal Script.

Step 4: Attach & Run: Attach/inject your executor into the Roblox process, paste the code into the script tab, and press Execute.

Created By

nopls
nopls
Script User
View Author Profile

Features & Information

Execute Universal Script – anti menu. Key system required, created by nopls, updated Oct 10, 2026. Tested and working on supported executors.

Script Changelog (1)

@noplsOct 10, 2026

Create script

Community Comments (2)

94ky94kyOct 15, 2026

delete your account thx

Replying to @94ky
noplsnoplsOct 23, 2026

@94ky I think I’ll pass, thank you.

Frequently Asked Questions

How do I execute Universal Script – anti menu in Roblox?

To run Universal Script – anti menu, copy the Lua loadstring from the code viewer above, launch Roblox and join Universal Script, attach a working executor (such as Potassium, Solara, or Delta from our Executors directory), paste the code into your executor console, and click Execute.

Is Universal Script – anti menu keyless or does it require an access key?

Universal Script – anti menu requires an access key. You can retrieve the official key directly using the Get Script Key link provided above.

Is Universal Script – anti menu currently safe and working?

This script is active and operational. Always test scripts using a secondary (alt) Roblox account to safeguard your main profile against anti-cheat bans.