--// Services local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Stats = game:GetService("Stats") local Camera = workspace.CurrentCamera --// Toggles local Aimbot, AimbotPOV, InfJump, Speed = false, false, false, false --// Settings local BULLET_SPEED = 600 local FOV_RADIUS = 120 local FOV_DEADZONE = 5 --// Prediction Memory local LastPositions = {} --// FOV Circle local FOVCircle = Drawing.new("Circle") FOVCircle.Visible = false FOVCircle.Radius = FOV_RADIUS FOVCircle.Thickness = 2 FOVCircle.Color = Color3.fromRGB(0,170,255) FOVCircle.Filled = false --// GUI local ScreenGui = Instance.new("ScreenGui", game.CoreGui) ScreenGui.Name = "_OpenSource_Hub" ScreenGui.ResetOnSpawn = false local Main = Instance.new("Frame", ScreenGui) Main.Size = UDim2.new(0, 300, 0, 300) Main.Position = UDim2.new(0.4, 0, 0.3, 0) Main.BackgroundColor3 = Color3.fromRGB(18,18,18) Main.Active = true Main.Draggable = true Instance.new("UICorner", Main) local Stroke = Instance.new("UIStroke", Main) Stroke.Color = Color3.fromRGB(0,170,255) -- Top Bar local Top = Instance.new("Frame", Main) Top.Size = UDim2.new(1,0,0,40) Top.BackgroundTransparency = 1 local Title = Instance.new("TextLabel", Top) Title.Size = UDim2.new(1,-40,1,0) Title.Text = "_OpenSource_ Hub" Title.Font = Enum.Font.GothamBold Title.TextSize = 18 Title.TextColor3 = Color3.new(1,1,1) Title.BackgroundTransparency = 1 -- Collapse local Collapse = Instance.new("TextButton", Top) Collapse.Size = UDim2.new(0,30,0,30) Collapse.Position = UDim2.new(1,-35,0,5) Collapse.Text = "-" Collapse.BackgroundColor3 = Color3.fromRGB(40,40,40) Collapse.TextColor3 = Color3.new(1,1,1) Instance.new("UICorner", Collapse) local Content = Instance.new("Frame", Main) Content.Size = UDim2.new(1,0,1,-40) Content.Position = UDim2.new(0,0,0,40) Content.BackgroundTransparency = 1 local Layout = Instance.new("UIListLayout", Content) Layout.Padding = UDim.new(0,10) Layout.HorizontalAlignment = Enum.HorizontalAlignment.Center -- Collapse Logic local collapsed = false Collapse.MouseButton1Click:Connect(function() collapsed = not collapsed Content.Visible = not collapsed Main.Size = collapsed and UDim2.new(0,300,0,40) or UDim2.new(0,300,0,300) Collapse.Text = collapsed and "+" or "-" end) -- Toggle Button local function createToggle(name, callback) local Holder = Instance.new("Frame", Content) Holder.Size = UDim2.new(0.9,0,0,40) Holder.BackgroundColor3 = Color3.fromRGB(25,25,25) Instance.new("UICorner", Holder) local Label = Instance.new("TextLabel", Holder) Label.Size = UDim2.new(0.6,0,1,0) Label.Text = name Label.Font = Enum.Font.Gotham Label.TextSize = 15 Label.TextColor3 = Color3.new(1,1,1) Label.BackgroundTransparency = 1 local Btn = Instance.new("TextButton", Holder) Btn.Size = UDim2.new(0.35,0,0.7,0) Btn.Position = UDim2.new(0.63,0,0.15,0) Btn.Text = "OFF" Btn.Font = Enum.Font.GothamBold Btn.TextSize = 13 Btn.BackgroundColor3 = Color3.fromRGB(50,50,50) Btn.TextColor3 = Color3.new(1,1,1) Instance.new("UICorner", Btn) local state = false Btn.MouseButton1Click:Connect(function() state = not state Btn.Text = state and "ON" or "OFF" Btn.BackgroundColor3 = state and Color3.fromRGB(0,170,255) or Color3.fromRGB(50,50,50) callback(state) end) end -- POV SIZE local POVHolder = Instance.new("Frame", Content) POVHolder.Size = UDim2.new(0.9,0,0,45) POVHolder.BackgroundColor3 = Color3.fromRGB(25,25,25) Instance.new("UICorner", POVHolder) local POVLabel = Instance.new("TextLabel", POVHolder) POVLabel.Size = UDim2.new(0.4,0,1,0) POVLabel.Text = "POV Size" POVLabel.TextColor3 = Color3.new(1,1,1) POVLabel.BackgroundTransparency = 1 local SizeText = Instance.new("TextLabel", POVHolder) SizeText.Size = UDim2.new(0.2,0,1,0) SizeText.Position = UDim2.new(0.4,0,0,0) SizeText.Text = tostring(FOV_RADIUS) SizeText.TextColor3 = Color3.fromRGB(0,170,255) SizeText.BackgroundTransparency = 1 local Minus = Instance.new("TextButton", POVHolder) Minus.Size = UDim2.new(0.15,0,0.7,0) Minus.Position = UDim2.new(0.65,0,0.15,0) Minus.Text = "-" Minus.TextScaled = true Minus.BackgroundColor3 = Color3.fromRGB(60,60,60) Instance.new("UICorner", Minus) local Plus = Instance.new("TextButton", POVHolder) Plus.Size = UDim2.new(0.15,0,0.7,0) Plus.Position = UDim2.new(0.82,0,0.15,0) Plus.Text = "+" Plus.TextScaled = true Plus.BackgroundColor3 = Color3.fromRGB(60,60,60) Instance.new("UICorner", Plus) Minus.MouseButton1Click:Connect(function() FOV_RADIUS = math.max(50, FOV_RADIUS - 20) FOVCircle.Radius = FOV_RADIUS SizeText.Text = tostring(FOV_RADIUS) end) Plus.MouseButton1Click:Connect(function() FOV_RADIUS += 20 FOVCircle.Radius = FOV_RADIUS SizeText.Text = tostring(FOV_RADIUS) end) -- Footer local Footer = Instance.new("TextLabel", Content) Footer.Size = UDim2.new(1,0,0,20) Footer.Text = "Made by _OpenSource_" Footer.TextColor3 = Color3.fromRGB(150,150,150) Footer.BackgroundTransparency = 1 --// ADVANCED PREDICTION local function getPing() local s = Stats.Network.ServerStatsItem["Data Ping"]:GetValueString() return tonumber(s:match("%d+")) or 50 end local function predict(hrp) local now = tick() local pos = hrp.Position local vel = hrp.Velocity local last = LastPositions[hrp] local accel = Vector3.zero if last then local dt = now - last.t if dt > 0 then accel = (vel - last.v) / dt end end LastPositions[hrp] = {p = pos, v = vel, t = now} local myHRP = LocalPlayer.Character.HumanoidRootPart local dist = (myHRP.Position - pos).Magnitude local t = dist / BULLET_SPEED + (getPing()/1000) local predicted = pos + vel*t + 0.5*accel*(t^2) if last then predicted = last.p:Lerp(predicted, 0.7) end return predicted end -- POV TARGETING local function getClosestToFOV() local closest, shortest = nil, math.huge local mousePos = UIS:GetMouseLocation() local function check(hrp) local screen, onScreen = Camera:WorldToViewportPoint(hrp.Position) if not onScreen then return end local dist = (Vector2.new(screen.X, screen.Y) - mousePos).Magnitude if dist <= (FOV_RADIUS - FOV_DEADZONE) and dist < shortest then shortest = dist closest = hrp end end for _, plr in pairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then check(plr.Character.HumanoidRootPart) end end local rigs = workspace:FindFirstChild("Rigs") if rigs then for _, npc in pairs(rigs:GetChildren()) do if npc.Name == "Murderer" and npc:FindFirstChild("HumanoidRootPart") then check(npc.HumanoidRootPart) end end end return closest end -- MAIN LOOP RunService.RenderStepped:Connect(function() FOVCircle.Visible = AimbotPOV FOVCircle.Position = UIS:GetMouseLocation() if Aimbot and AimbotPOV then local target = getClosestToFOV() if target then local pos = predict(target) pcall(function() LocalPlayer.Character:WaitForChild("Gun") :WaitForChild("GunServer") :WaitForChild("ShootStart") :FireServer(1, pos) end) end end if Speed and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then LocalPlayer.Character.Humanoid.WalkSpeed = 35 end end) -- Inf Jump UIS.JumpRequest:Connect(function() if InfJump and LocalPlayer.Character then LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping") end end) -- Buttons createToggle("Aimbot", function(v) Aimbot = v end) createToggle("Aimbot POV", function(v) AimbotPOV = v end) createToggle("InfJump", function(v) InfJump = v end) createToggle("Speed", function(v) Speed = v end)