-- 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 заблокирован.")