local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local VirtualInputManager = game:GetService("VirtualInputManager") local player = Players.LocalPlayer print("✅ АВТОМАТ ЗАПУЩЕН!") -- ========== НАСТРОЙКИ ========== local attackDelay = 1950 -- ЗАДЕРЖКА УДАРА (мс) local teleportDelay = 700 -- ЗАДЕРЖКА ТЕЛЕПОРТА (мс) -- ========== КООРДИНАТЫ ========== local POINT_1 = Vector3.new(66, 441, -110) local POINT_2 = Vector3.new(243.81, 440.89, -323.50) local ANGLE_2 = 25 -- ========== ПЕРЕМЕННЫЕ ========== local isRunning = false local cycleThread = nil -- ========== ФУНКЦИИ ========== local function Jump() local character = player.Character if character then local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end local function Attack() pcall(function() VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Escape, false, game) task.wait(0.05) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Escape, false, game) end) task.wait(0.1) pcall(function() VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Escape, false, game) task.wait(0.05) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Escape, false, game) end) end local function Teleport1() local character = player.Character if not character then return end local root = character:FindFirstChild("HumanoidRootPart") if not root then return end root.CFrame = CFrame.new(66, 441, -110) end local function Teleport2() local character = player.Character if not character then return end local root = character:FindFirstChild("HumanoidRootPart") if not root then return end local angleRad = math.rad(ANGLE_2) root.CFrame = CFrame.new(POINT_2) * CFrame.Angles(0, angleRad, 0) end local function StartCycle() if isRunning then return end isRunning = true cycleThread = task.spawn(function() while isRunning do Jump() task.wait(0.001) if not isRunning then break end Teleport1() task.wait(teleportDelay / 1000) if not isRunning then break end Attack() task.wait(attackDelay / 1000) if not isRunning then break end Teleport2() task.wait(teleportDelay / 1000) if not isRunning then break end Attack() task.wait(attackDelay / 1000) if not isRunning then break end end isRunning = false end) end local function StopCycle() if not isRunning then return end isRunning = false if cycleThread then task.cancel(cycleThread) cycleThread = nil end end -- ========== СОЗДАЁМ КНОПКИ ========== local screenGui = Instance.new("ScreenGui") screenGui.Parent = game:GetService("CoreGui") screenGui.Name = "AutoCycleGUI" local startBtn = Instance.new("TextButton") startBtn.Parent = screenGui startBtn.Size = UDim2.new(0, 150, 0, 50) startBtn.Position = UDim2.new(0.5, -160, 0.5, -25) startBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 50) startBtn.Text = "▶ СТАРТ" startBtn.TextColor3 = Color3.fromRGB(255, 255, 255) startBtn.TextSize = 18 startBtn.Font = Enum.Font.GothamBold local stopBtn = Instance.new("TextButton") stopBtn.Parent = screenGui stopBtn.Size = UDim2.new(0, 150, 0, 50) stopBtn.Position = UDim2.new(0.5, 10, 0.5, -25) stopBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) stopBtn.Text = "⏹ СТОП" stopBtn.TextColor3 = Color3.fromRGB(255, 255, 255) stopBtn.TextSize = 18 stopBtn.Font = Enum.Font.GothamBold local closeBtn = Instance.new("TextButton") closeBtn.Parent = screenGui closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(0.9, 0, 0, 0) closeBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) closeBtn.Text = "✕" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextSize = 18 closeBtn.Font = Enum.Font.GothamBold closeBtn.MouseButton1Click:Connect(function() isRunning = false if cycleThread then task.cancel(cycleThread) cycleThread = nil end screenGui:Destroy() end) startBtn.MouseButton1Click:Connect(StartCycle) stopBtn.MouseButton1Click:Connect(StopCycle) print("✅ АВТОМАТ ГОТОВ!") print("⚔️ УДАР: " .. attackDelay .. " мс | 🚀 ТЕЛЕПОРТ: " .. teleportDelay .. " мс")