--[[ auto escape - toggle: INSERT - increase delay (+0.5s): ] - decrease delay (-0.5s): [ ]] local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local StarterGui = game:GetService("StarterGui") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local EscapeRemote = workspace:WaitForChild("Events"):WaitForChild("Vampire"):WaitForChild("Escape") local Config = { Enabled = true, Delay = 3.5, ActiveGrab = false, Processing = false } local function notify(msg) StarterGui:SetCore("SendNotification", { Title = "auto escape grab", Text = msg, Duration = 2 }) end local function runEscape() if Config.Processing or not Config.Enabled then return end Config.Processing = true Config.ActiveGrab = true local jitter = math.random(-15, 25) / 100 local waitTime = Config.Delay + jitter task.wait(waitTime) if not Config.ActiveGrab then Config.Processing = false return end local char = LocalPlayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") local target = nil if root then local searchDist = 12 for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local mag = (p.Character.HumanoidRootPart.Position - root.Position).Magnitude if mag < searchDist then target = p searchDist = mag end end end end if target then EscapeRemote:FireServer(target) print("Escape sent @ " .. string.format("%.2f", waitTime) .. "s") end Config.ActiveGrab = false Config.Processing = false end UIS.InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.Insert then Config.Enabled = not Config.Enabled notify("Auto-Escape: " .. (Config.Enabled and "ON" or "OFF")) elseif input.KeyCode == Enum.KeyCode.RightBracket then Config.Delay = math.min(10, Config.Delay + 0.5) notify("Current Delay: " .. Config.Delay .. "s") elseif input.KeyCode == Enum.KeyCode.LeftBracket then Config.Delay = math.max(0.5, Config.Delay - 0.5) notify("Current Delay: " .. Config.Delay .. "s") end end) PlayerGui.DescendantAdded:Connect(function(obj) if not Config.Enabled then return end task.wait(0.05) if obj:IsA("TextLabel") or obj:IsA("TextButton") then local text = obj.Text:upper() if text:find("GRABBED") and not Config.Processing then task.spawn(runEscape) elseif text:find("ESCAPED") then Config.ActiveGrab = false Config.Processing = false end end end) notify("System Ready. Use [ and ] to adjust delay.")