local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local VirtualInputManager = game:GetService("VirtualInputManager") local localPlayer = Players.LocalPlayer local Mouse = localPlayer:GetMouse() -- Remotes handling local Remotes pcall(function() Remotes = require(ReplicatedStorage.Remotes) end) if not Remotes then Remotes = ReplicatedStorage:FindFirstChild("Remotes") or ReplicatedStorage end local function getRemote(name) if type(Remotes) == "table" then return Remotes[name] else return Remotes:FindFirstChild(name) end end local AttackRemote = getRemote("Attack") or getRemote("Damage") local MineRemote = getRemote("Mine") or getRemote("BreakBlock") local BedBreakRemote = getRemote("BreakBed") or getRemote("DestroyBed") -- Global toggles (change via UI or console) _G.NoClickDelay = true _G.Reach = true _G.AntiAFK = true _G.AutoSuffocate = true _G.Sprint = true _G.SilentAura = true _G.Aimbot = true _G.BowAssist = true _G.AntiFallDamage = true _G.PhaseMine = true ---------------------------- -- Utility functions ---------------------------- local function getNearestEnemy(maxDist) maxDist = maxDist or math.huge local nearestChar, nearestHumanoid, nearestRoot, nearestDist = nil, nil, nil, maxDist local myTeam = nil pcall(function() myTeam = localPlayer.Team end) for _, player in ipairs(Players:GetPlayers()) do if player ~= localPlayer then local char = player.Character local humanoid = char and char:FindFirstChild("Humanoid") local root = char and char:FindFirstChild("HumanoidRootPart") if humanoid and root and humanoid.Health > 0 then local myRoot = localPlayer.Character and localPlayer.Character.PrimaryPart local dist = myRoot and (myRoot.Position - root.Position).Magnitude or math.huge if dist < nearestDist then nearestDist = dist nearestChar = char nearestHumanoid = humanoid nearestRoot = root end end end end return nearestChar, nearestHumanoid, nearestRoot end local function getTool() local char = localPlayer.Character if char then return char:FindFirstChildOfClass("Tool") end end ---------------------------- -- 1. No Click Delay ---------------------------- task.spawn(function() while true do if _G.NoClickDelay then local tool = getTool() if tool and tool:FindFirstChild("Handle") then tool:Activate() end end task.wait(0.05) end end) ---------------------------- -- 2. Reach (extend handle) ---------------------------- task.spawn(function() while true do if _G.Reach then local tool = getTool() if tool then local handle = tool:FindFirstChild("Handle") if handle then local char = localPlayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") if root then local mouseHit = Mouse.Hit local direction = (mouseHit.p - root.Position).Unit handle.CFrame = CFrame.new(root.Position + direction * 6) -- 6 studs forward end end end end task.wait() end end) ---------------------------- -- 3. Anti AFK ---------------------------- task.spawn(function() while true do if _G.AntiAFK then -- Simulate a tiny movement to reset idle timer VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.W, false, game) task.wait(0.05) VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.W, false, game) task.wait(5) else task.wait(1) end end end) ---------------------------- -- 4. Auto Suffocate (break nearby blocks) ---------------------------- task.spawn(function() while true do if _G.AutoSuffocate then local char = localPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then local root = char.HumanoidRootPart local radius = 5 local region = Region3.new( root.Position - Vector3.new(radius, radius, radius), root.Position + Vector3.new(radius, radius, radius) ) local parts = Workspace:FindPartsInRegion3WithIgnoreList(region, {}, 100) for _, part in ipairs(parts) do if part and part.Parent and not part.Parent:IsA("Player") then local name = part.Name:lower() if name:find("block") or name:find("rock") or name:find("stone") or name:find("ore") or name:find("bed") or name:find("hardened") then if MineRemote then MineRemote:FireServer(part) end end end end end end task.wait(0.3) end end) ---------------------------- -- 5. Sprint ---------------------------- task.spawn(function() while true do if _G.Sprint then local hum = localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = 30 end else local hum = localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = 16 -- default end end task.wait(0.5) end end) ---------------------------- -- 6. Silent Aura ---------------------------- task.spawn(function() while true do if _G.SilentAura then local char, hum, root = getNearestEnemy(15) if hum and root and AttackRemote then AttackRemote:FireServer(hum) -- damage enemy silently end end task.wait(0.15) -- attack interval end end) ---------------------------- -- 7. Aimbot ---------------------------- task.spawn(function() while true do if _G.Aimbot then local char, hum, root = getNearestEnemy(100) if root then local head = char:FindFirstChild("Head") local aimPos = head and head.Position or root.Position local camera = Workspace.CurrentCamera camera.CFrame = CFrame.new(camera.CFrame.Position, aimPos) end end task.wait() end end) ---------------------------- -- 8. Bow Assist ---------------------------- task.spawn(function() while true do if _G.BowAssist then local tool = getTool() if tool and (tool.Name:lower():find("bow") or tool.Name:lower():find("crossbow")) then local char, hum, root = getNearestEnemy(200) if root then local head = char:FindFirstChild("Head") local targetPos = head and head.Position or root.Position -- Projectile prediction local projSpeed = 100 -- typical bow projectile speed (adjust if needed) local gravity = Workspace.Gravity local myPos = localPlayer.Character and localPlayer.Character.PrimaryPart.Position local distance = myPos and (targetPos - myPos).Magnitude or 50 local time = distance / projSpeed local predictedPos = targetPos + (root.Velocity * time) predictedPos = predictedPos + Vector3.new(0, 0.5 * gravity * time^2, 0) local camera = Workspace.CurrentCamera camera.CFrame = CFrame.new(camera.CFrame.Position, predictedPos) end end end task.wait() end end) ---------------------------- -- 9. Anti Fall Damage ---------------------------- task.spawn(function() while true do if _G.AntiFallDamage then local hum = localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") if hum and hum:GetState() == Enum.HumanoidStateType.Freefall and hum.Velocity.Y < -60 then hum.PlatformStand = true task.wait(0.1) hum.PlatformStand = false end end task.wait() end end) ---------------------------- -- 10. Phase Mine (break blocks through walls) ---------------------------- task.spawn(function() while true do if _G.PhaseMine then local char = localPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then local root = char.HumanoidRootPart local radius = 20 local region = Region3.new( root.Position - Vector3.new(radius, radius, radius), root.Position + Vector3.new(radius, radius, radius) ) local parts = Workspace:FindPartsInRegion3WithIgnoreList(region, {}, 200) -- Prioritize beds local bedPart for _, part in ipairs(parts) do if part.Name:lower():find("bed") then bedPart = part break end end if bedPart and BedBreakRemote then BedBreakRemote:FireServer(bedPart) elseif MineRemote then for _, part in ipairs(parts) do if part and part.Parent and not part.Parent:IsA("Player") then local name = part.Name:lower() if name:find("block") or name:find("hardened") or name:find("endstone") or name:find("glass") or name:find("wood") or name:find("obsidian") then MineRemote:FireServer(part) break end end end end end end task.wait(0.5) end end) ---------------------------- -- Simple UI toggle ---------------------------- task.spawn(function() local sGui = Instance.new("ScreenGui") sGui.Name = "DeltaCheats" sGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling sGui.Parent = localPlayer:WaitForChild("PlayerGui") or game.CoreGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 400) frame.Position = UDim2.new(0, 10, 0, 10) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Parent = sGui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(60, 60, 60) title.Text = "BedWars Hacks" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.SourceSansBold title.TextScaled = true title.Parent = frame local toggles = { {"No Click Delay", "NoClickDelay", true}, {"Reach", "Reach", true}, {"Anti AFK", "AntiAFK", true}, {"Auto Suffocate", "AutoSuffocate", true}, {"Sprint", "Sprint", true}, {"Silent Aura", "SilentAura", true}, {"Aimbot", "Aimbot", true}, {"Bow Assist", "BowAssist", true}, {"Anti Fall Damage", "AntiFallDamage", true}, {"Phase Mine", "PhaseMine", true}, } for i, data in ipairs(toggles) do local name, flag, init = data[1], data[2], data[3] local yPos = 40 + (i - 1) * 30 local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -10, 0, 25) btn.Position = UDim2.new(0, 5, 0, yPos) btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) btn.Text = name .. ": " .. (init and "ON" or "OFF") btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.SourceSans btn.TextScaled = true btn.Parent = frame local function update() btn.Text = name .. ": " .. (_G[flag] and "ON" or "OFF") btn.BackgroundColor3 = _G[flag] and Color3.fromRGB(0, 170, 0) or Color3.fromRGB(80, 80, 80) end btn.MouseButton1Click:Connect(function() _G[flag] = not _G[flag] update() end) update() end end)