-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Настройки задержек (в секундах) local TELEPORT_DELAY = 0.4 local SHOT_DELAY = 0.25 local RESPAWN_INTERVAL = 30 local BOMB_DANGER_ZONE = 25 local START_DELAY = 0.5 local ANTI_AFK_INTERVAL = 300 -- Интервал для Анти-AFK (300 секунд = 5 минут) local Players = game:GetService("Players") local VirtualInputManager = game:GetService("VirtualInputManager") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local CoreGui = game:GetService("CoreGui") local VirtualUser = game:GetService("VirtualUser") -- Служба для Анти-AFK local LocalPlayer = Players.LocalPlayer local isRunning = false local isDestroyed = false local deadDummies = {} local currentTargetPart = nil local cameraConnection = nil local inputConnection = nil -- Функция симуляции кликов local function pressKey(keyCode) if isDestroyed then return end VirtualInputManager:SendKeyEvent(true, keyCode, false, game) task.wait(0.05) VirtualInputManager:SendKeyEvent(false, keyCode, false, game) end local function equipWeapon() pressKey(Enum.KeyCode.Four) task.wait(0.3) end local function startCameraTracking() if cameraConnection then cameraConnection:Disconnect() end if isDestroyed then return end cameraConnection = RunService.RenderStepped:Connect(function() if isRunning and not isDestroyed and workspace.CurrentCamera and currentTargetPart and currentTargetPart:IsA("BasePart") then workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, currentTargetPart.Position) end end) end local function stopCameraTracking() if cameraConnection then cameraConnection:Disconnect() cameraConnection = nil end currentTargetPart = nil end local function setupTargetInDummy(dummy) if not dummy:IsA("Model") then return end local head = dummy:WaitForChild("Head", 5) if head and not head:FindFirstChild("AimTargetPoint") then local targetAimPart = Instance.new("Part") targetAimPart.Name = "AimTargetPoint" targetAimPart.Size = Vector3.new(0.5, 0.5, 0.5) targetAimPart.Transparency = 1 targetAimPart.CanCollide = false targetAimPart.Anchored = false targetAimPart.Position = head.Position targetAimPart.Parent = head local weld = Instance.new("WeldConstraint") weld.Part0 = head weld.Part1 = targetAimPart weld.Parent = targetAimPart end end task.spawn(function() local dummiesFolder = workspace:WaitForChild("Dummies", 10) if not dummiesFolder then return end for _, dummy in ipairs(dummiesFolder:GetChildren()) do setupTargetInDummy(dummy) end dummiesFolder.ChildAdded:Connect(function(child) if not isDestroyed then task.wait(0.1) setupTargetInDummy(child) end end) end) local function isZoneSafeFromBombs(targetPos, dummyRoot) if not dummyRoot then return false end local clientWorld = workspace:FindFirstChild("ClientWorld") local testGround = clientWorld and clientWorld:FindFirstChild("TestGround") if testGround then for _, object in ipairs(testGround:GetChildren()) do if object.Name == "barrel_a" and (object:IsA("BasePart") or object:FindFirstChild("HumanoidRootPart") or object:FindFirstChildOfClass("BasePart")) then local barrelPart = object:IsA("BasePart") and object or object:FindFirstChildOfClass("BasePart") if barrelPart then local distanceToTP = (targetPos - barrelPart.Position).Magnitude local distanceToDummy = (dummyRoot.Position - barrelPart.Position).Magnitude if distanceToTP <= BOMB_DANGER_ZONE or distanceToDummy <= BOMB_DANGER_ZONE then return false end end end end end return true end local function isDummyAlive(dummy) if deadDummies[dummy] or isDestroyed then return false end local head = dummy:FindFirstChild("Head") local root = dummy:FindFirstChild("HumanoidRootPart") if not head or not root then return false end local humanoid = dummy:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.Health <= 0 then return false end return true end local function resetMouseInputs() VirtualInputManager:SendMouseButtonEvent(0, 0, 1, false, game, 0) VirtualInputManager:SendMouseButtonEvent(0, 0, 0, false, game, 0) end -- Авто-очистка списка мертвых целей каждую секунду task.spawn(function() while not isDestroyed do task.wait(1) if isRunning then deadDummies = {} end end end) -- Авто-нажатие кнопки R раз в 30 секунд task.spawn(function() while not isDestroyed do task.wait(1) if isRunning then task.wait(RESPAWN_INTERVAL) if isRunning and not isDestroyed then pressKey(Enum.KeyCode.R) deadDummies = {} task.wait(1) end end end end) -- ПАРАЛЛЕЛЬНЫЙ ПОТОК: Система АНТИ-AFK (Срабатывает раз в 5 минут, когда включен бот) task.spawn(function() while not isDestroyed do task.wait(1) if isRunning then task.wait(ANTI_AFK_INTERVAL) -- Если бот всё еще запущен, отправляем виртуальный прыжок через VirtualUser if isRunning and not isDestroyed then local character = LocalPlayer.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid then -- Метод движка: Нажимает виртуальную кнопку прыжка, обходя AFK-таймер Roblox VirtualUser:CaptureController() VirtualUser:Button1Down(Vector2.new(0, 0)) -- Имитация микро-клика для активности humanoid.Jump = true -- Физический прыжок в игре print("[Mamut Rakhal Hub]: Сработал Анти-AFK прыжок (Прошло 5 минут).") end end end end end) -- Основной цикл зачистки task.spawn(function() while not isDestroyed do task.wait(0.1) if isRunning and not isDestroyed then local character = LocalPlayer.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local dummiesFolder = workspace:FindFirstChild("Dummies") if rootPart and dummiesFolder then local targetedAny = false for _, dummy in ipairs(dummiesFolder:GetChildren()) do if not isRunning or isDestroyed then break end if dummy:IsA("Model") and dummy:FindFirstChild("HumanoidRootPart") and dummy:FindFirstChild("Head") then if isDummyAlive(dummy) then local dummyRoot = dummy.HumanoidRootPart local dummyHead = dummy.Head local targetPosition = dummyRoot.Position - (dummyRoot.CFrame.LookVector * 3) + Vector3.new(0, 3, 0) if isZoneSafeFromBombs(targetPosition, dummyRoot) then targetedAny = true local aimPart = dummyHead:FindFirstChild("AimTargetPoint") if aimPart then currentTargetPart = aimPart rootPart.CFrame = CFrame.new(targetPosition, dummyHead.Position) startCameraTracking() VirtualInputManager:SendMouseButtonEvent(0, 0, 1, true, game, 0) task.wait(TELEPORT_DELAY) if isRunning and not isDestroyed then VirtualInputManager:SendMouseButtonEvent(0, 0, 0, true, game, 0) task.wait(0.05) VirtualInputManager:SendMouseButtonEvent(0, 0, 0, false, game, 0) task.wait(SHOT_DELAY) end deadDummies[dummy] = true VirtualInputManager:SendMouseButtonEvent(0, 0, 1, false, game, 0) stopCameraTracking() end end end end end if not targetedAny then deadDummies = {} task.wait(0.2) end resetMouseInputs() end end end end) -- ==================== СОЗДАНИЕ ИНТЕРФЕЙСА (GUI) ==================== local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AutofarmMenu" ScreenGui.ResetOnSpawn = false if CoreGui:FindFirstChild("AutofarmMenu") then CoreGui.AutofarmMenu:Destroy() end ScreenGui.Parent = CoreGui local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 250, 0, 230) MainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.BorderSizePixel = 0 MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 8) MainCorner.Parent = MainFrame local TopHeader = Instance.new("Frame") TopHeader.Name = "TopHeader" TopHeader.Size = UDim2.new(1, 0, 0, 35) TopHeader.BackgroundColor3 = Color3.fromRGB(20, 20, 20) TopHeader.BorderSizePixel = 0 TopHeader.Parent = MainFrame local HeaderCorner = Instance.new("UICorner") HeaderCorner.CornerRadius = UDim.new(0, 8) HeaderCorner.Parent = TopHeader local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -10, 1, 0) Title.Position = UDim2.new(0, 10, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "Mamut Rakhal Hub I Hyper Realistic Ragdoll" Title.TextColor3 = Color3.fromRGB(200, 200, 200) Title.TextSize = 12 Title.Font = Enum.Font.SourceSansBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = TopHeader local dragToggle, dragStart, startPos local function updateInput(input) local delta = input.Position - dragStart MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end TopHeader.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragToggle = true dragStart = input.Position startPos = MainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and dragToggle then updateInput(input) end end) local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(1, -20, 0, 35) ToggleButton.Position = UDim2.new(0, 10, 0, 50) ToggleButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) ToggleButton.Text = "СТАРТ БОТА" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 14 ToggleButton.Font = Enum.Font.SourceSansBold ToggleButton.Parent = MainFrame local BtnCorner = Instance.new("UICorner") BtnCorner.CornerRadius = UDim.new(0, 6) BtnCorner.Parent = ToggleButton local UnloadButton = Instance.new("TextButton") UnloadButton.Size = UDim2.new(1, -20, 0, 35) UnloadButton.Position = UDim2.new(0, 10, 0, 95) UnloadButton.BackgroundColor3 = Color3.fromRGB(90, 40, 40) UnloadButton.Text = "ПОЛНАЯ ВЫГРУЗКА" UnloadButton.TextColor3 = Color3.fromRGB(255, 255, 255) UnloadButton.TextSize = 14 UnloadButton.Font = Enum.Font.SourceSansBold UnloadButton.Parent = MainFrame local UnloadCorner = Instance.new("UICorner") UnloadCorner.CornerRadius = UDim.new(0, 6) UnloadCorner.Parent = UnloadButton local KeybindsLabel = Instance.new("TextLabel") KeybindsLabel.Name = "KeybindsLabel" KeybindsLabel.Size = UDim2.new(1, -20, 0, 80) KeybindsLabel.Position = UDim2.new(0, 10, 0, 140) KeybindsLabel.BackgroundTransparency = 1 KeybindsLabel.Text = "[F1] -> ВКЛ / ВЫКЛ БОТА\n[F2] -> СПРЯТАТЬ МЕНЮ\n[F3] -> УДАЛИТЬ СКРИПТ" KeybindsLabel.TextColor3 = Color3.fromRGB(230, 230, 100) KeybindsLabel.TextSize = 15 KeybindsLabel.Font = Enum.Font.SourceSansBold KeybindsLabel.TextYAlignment = Enum.TextYAlignment.Center KeybindsLabel.Parent = MainFrame local function toggleBotState() isRunning = not isRunning if isRunning then deadDummies = {} LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson task.wait(START_DELAY) equipWeapon() else LocalPlayer.CameraMode = Enum.CameraMode.Classic resetMouseInputs() stopCameraTracking() end if isRunning then ToggleButton.Text = "БОТ: РАБОТАЕТ" ToggleButton.BackgroundColor3 = Color3.fromRGB(40, 80, 40) print("[Mamut Rakhal Hub]: Бот АКТИВИРОВАН. Анти-AFK запущен.") else ToggleButton.Text = "БОТ: НА ПАУЗЕ" ToggleButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) print("[Mamut Rakhal Hub]: Бот НА ПАУЗЕ. Анти-AFK приостановлен.") end end ToggleButton.MouseButton1Click:Connect(toggleBotState) local function unloadScript() isDestroyed = true isRunning = false stopCameraTracking() LocalPlayer.CameraMode = Enum.CameraMode.Classic if inputConnection then inputConnection:Disconnect() end local dummiesFolder = workspace:FindFirstChild("Dummies") if dummiesFolder then for _, dummy in ipairs(dummiesFolder:GetChildren()) do local head = dummy:FindFirstChild("Head") local target = head and head:FindFirstChild("AimTargetPoint") if target then target:Destroy() end end end resetMouseInputs() ScreenGui:Destroy() print("[Mamut Rakhal Hub]: Скрипт полностью удален.") end UnloadButton.MouseButton1Click:Connect(unloadScript) inputConnection = UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed or isDestroyed then return end if input.KeyCode == Enum.KeyCode.F1 then toggleBotState() elseif input.KeyCode == Enum.KeyCode.F2 then ScreenGui.Enabled = not ScreenGui.Enabled elseif input.KeyCode == Enum.KeyCode.F3 then unloadScript() end end) print("[Mamut Rakhal Hub]: Загружен. Встроенный Анти-AFK (VirtualUser) активен!")