--[[ HP TEAM PRO V1 Client-side controller for an experience you own. Run as a LocalScript in StarterPlayerScripts, or in a compatible client executor. Range is measured in Roblox studs (150 studs), not meters. IMPORTANT: - Damage, NPC aggro, and authoritative movement must be implemented/validated by your server. - Tele Kill only moves the local character near eligible NPC models and activates an equipped Tool. - Aim Magic is a client-side camera assist when a Tool is activated; tools using custom firing remotes may need an integration in your own weapon code. - Ghost is local visual hiding only; it does not make the character invisible to the server. ]] if _G.HP_TEAM_PRO_V1 then pcall(function() _G.HP_TEAM_PRO_V1:Destroy() end) end local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local Camera = Workspace.CurrentCamera local CONFIG = { Range = 150, TeleKillDistance = 7, TeleKillInterval = 0.35, AutoShootInterval = 0.25, AimSmoothness = 0.22, FlySpeed = 55, WalkSpeed = 32, FlyVerticalSpeed = 45, } local State = { TeleKill = false, Aimbot = false, AimMagic = false, AutoShoot = false, ESPLine = false, ESPBox = false, ESPName = false, ESPDistance = false, ESPHologram = false, NoClip = false, Fly = false, Speed = false, AirJump = false, Ghost = false, Minimized = false, CurrentTab = "Main", } local GREEN = Color3.fromRGB(40, 255, 100) local DARK = Color3.fromRGB(10, 12, 12) local PANEL = Color3.fromRGB(18, 22, 20) local WHITE = Color3.fromRGB(235, 245, 238) local RED = Color3.fromRGB(255, 75, 75) local Connections = {} local ESPObjects = {} local OriginalProperties = {} local LastAutoShoot = 0 local LastTeleKill = 0 local FlyVertical = 0 local Destroyed = false local function track(connection) table.insert(Connections, connection) return connection end local function getCharacter() return LocalPlayer.Character end local function getHumanoid(character) return character and character:FindFirstChildOfClass("Humanoid") end local function getRoot(character) return character and (character:FindFirstChild("HumanoidRootPart") or character.PrimaryPart) end local function isPlayerCharacter(model) for _, player in ipairs(Players:GetPlayers()) do if player.Character == model then return true end end return false end local function getModelRoot(model) if not model or not model:IsA("Model") then return nil end return model:FindFirstChild("HumanoidRootPart") or model:FindFirstChild("UpperTorso") or model:FindFirstChild("Torso") or model.PrimaryPart end local function isEligibleNPC(model) if not model or not model:IsA("Model") or model == getCharacter() then return false end if isPlayerCharacter(model) then return false end local hum = model:FindFirstChildOfClass("Humanoid") local root = getModelRoot(model) if not hum or hum.Health <= 0 or not root then return false end return true end local function getNPCs() local result = {} local myRoot = getRoot(getCharacter()) if not myRoot then return result end for _, item in ipairs(Workspace:GetDescendants()) do if item:IsA("Model") and isEligibleNPC(item) then local root = getModelRoot(item) if root and (root.Position - myRoot.Position).Magnitude <= CONFIG.Range then table.insert(result, item) end end end return result end local function nearestNPC(maxDistance) local myRoot = getRoot(getCharacter()) if not myRoot then return nil end local best, bestDistance = nil, maxDistance or CONFIG.Range for _, model in ipairs(getNPCs()) do local root = getModelRoot(model) if root then local distance = (root.Position - myRoot.Position).Magnitude if distance < bestDistance then best, bestDistance = model, distance end end end return best, bestDistance end local function equippedTool() local character = getCharacter() if not character then return nil end for _, child in ipairs(character:GetChildren()) do if child:IsA("Tool") then return child end end return nil end local function activateTool() local tool = equippedTool() if tool then pcall(function() tool:Activate() end) return true end return false end local function aimAt(model, smooth) local root = model and getModelRoot(model) if not root or not Camera then return end local targetPosition = root.Position + Vector3.new(0, 1.2, 0) local desired = CFrame.lookAt(Camera.CFrame.Position, targetPosition) if smooth then Camera.CFrame = Camera.CFrame:Lerp(desired, CONFIG.AimSmoothness) else Camera.CFrame = desired end end -- GUI local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "HP_TEAM_PRO_V1" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = PlayerGui local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.fromOffset(310, 390) Main.Position = UDim2.new(0, 25, 0.25, 0) Main.BackgroundColor3 = DARK Main.BorderSizePixel = 0 Main.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 9) MainCorner.Parent = Main local MainStroke = Instance.new("UIStroke") MainStroke.Color = GREEN MainStroke.Thickness = 2 MainStroke.Parent = Main local Header = Instance.new("Frame") Header.Size = UDim2.new(1, 0, 0, 38) Header.BackgroundColor3 = Color3.fromRGB(5, 28, 13) Header.BorderSizePixel = 0 Header.Parent = Main local HeaderCorner = Instance.new("UICorner") HeaderCorner.CornerRadius = UDim.new(0, 8) HeaderCorner.Parent = Header local Title = Instance.new("TextLabel") Title.BackgroundTransparency = 1 Title.Position = UDim2.fromOffset(10, 0) Title.Size = UDim2.new(1, -105, 1, 0) Title.Font = Enum.Font.GothamBold Title.Text = "HP TEAM PRO V1" Title.TextColor3 = GREEN Title.TextSize = 15 Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = Header local function makeHeaderButton(text, x, width) local button = Instance.new("TextButton") button.Size = UDim2.fromOffset(width, 26) button.Position = UDim2.new(1, x, 0, 6) button.BackgroundColor3 = Color3.fromRGB(25, 55, 35) button.TextColor3 = WHITE button.Font = Enum.Font.GothamBold button.TextSize = 14 button.Text = text button.Parent = Header Instance.new("UICorner", button).CornerRadius = UDim.new(0, 5) return button end local MinButton = makeHeaderButton("—", -62, 25) local CloseButton = makeHeaderButton("×", -32, 25) local Tabs = Instance.new("Frame") Tabs.Position = UDim2.fromOffset(8, 45) Tabs.Size = UDim2.new(1, -16, 0, 32) Tabs.BackgroundTransparency = 1 Tabs.Parent = Main local TabLayout = Instance.new("UIListLayout") TabLayout.FillDirection = Enum.FillDirection.Horizontal TabLayout.Padding = UDim.new(0, 5) TabLayout.SortOrder = Enum.SortOrder.LayoutOrder TabLayout.Parent = Tabs local Content = Instance.new("ScrollingFrame") Content.Position = UDim2.fromOffset(8, 84) Content.Size = UDim2.new(1, -16, 1, -92) Content.BackgroundColor3 = PANEL Content.BorderSizePixel = 0 Content.ScrollBarThickness = 4 Content.ScrollBarImageColor3 = GREEN Content.CanvasSize = UDim2.new() Content.AutomaticCanvasSize = Enum.AutomaticSize.Y Content.Parent = Main Instance.new("UICorner", Content).CornerRadius = UDim.new(0, 6) local ContentPadding = Instance.new("UIPadding") ContentPadding.PaddingTop = UDim.new(0, 7) ContentPadding.PaddingBottom = UDim.new(0, 7) ContentPadding.PaddingLeft = UDim.new(0, 7) ContentPadding.PaddingRight = UDim.new(0, 7) ContentPadding.Parent = Content local ContentLayout = Instance.new("UIListLayout") ContentLayout.Padding = UDim.new(0, 6) ContentLayout.SortOrder = Enum.SortOrder.LayoutOrder ContentLayout.Parent = Content local function clearContent() for _, child in ipairs(Content:GetChildren()) do if child:IsA("GuiObject") and child ~= ContentPadding and child ~= ContentLayout then child:Destroy() end end end local function makeToggle(label, key, description) local row = Instance.new("Frame") row.Size = UDim2.new(1, -2, 0, description and 51 or 38) row.BackgroundColor3 = Color3.fromRGB(26, 31, 28) row.BorderSizePixel = 0 row.Parent = Content Instance.new("UICorner", row).CornerRadius = UDim.new(0, 5) local name = Instance.new("TextLabel") name.BackgroundTransparency = 1 name.Position = UDim2.fromOffset(9, description and 4 or 0) name.Size = UDim2.new(1, -75, 0, description and 22 or 38) name.Font = Enum.Font.GothamSemibold name.Text = label name.TextColor3 = WHITE name.TextSize = 13 name.TextXAlignment = Enum.TextXAlignment.Left name.Parent = row if description then local sub = Instance.new("TextLabel") sub.BackgroundTransparency = 1 sub.Position = UDim2.fromOffset(9, 25) sub.Size = UDim2.new(1, -18, 0, 18) sub.Font = Enum.Font.Gotham sub.Text = description sub.TextColor3 = Color3.fromRGB(155, 170, 160) sub.TextSize = 10 sub.TextXAlignment = Enum.TextXAlignment.Left sub.Parent = row end local toggle = Instance.new("TextButton") toggle.Size = UDim2.fromOffset(52, 25) toggle.Position = UDim2.new(1, -61, 0.5, -12) toggle.BackgroundColor3 = State[key] and GREEN or Color3.fromRGB(65, 70, 67) toggle.Text = State[key] and "ON" or "OFF" toggle.TextColor3 = State[key] and Color3.fromRGB(0, 25, 8) or WHITE toggle.Font = Enum.Font.GothamBold toggle.TextSize = 11 toggle.Parent = row Instance.new("UICorner", toggle).CornerRadius = UDim.new(0, 5) toggle.MouseButton1Click:Connect(function() State[key] = not State[key] toggle.Text = State[key] and "ON" or "OFF" toggle.BackgroundColor3 = State[key] and GREEN or Color3.fromRGB(65, 70, 67) toggle.TextColor3 = State[key] and Color3.fromRGB(0, 25, 8) or WHITE end) end local function makeInfo(text) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -2, 0, 42) label.BackgroundTransparency = 1 label.Font = Enum.Font.Gotham label.Text = text label.TextColor3 = Color3.fromRGB(165, 185, 170) label.TextSize = 11 label.TextWrapped = true label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = Content end local function renderTab(tab) State.CurrentTab = tab clearContent() if tab == "Main" then makeToggle("Tele Kill", "TeleKill", "Đến gần NPC trong 150 studs và kích hoạt Tool") makeToggle("Aimbot", "Aimbot", "Hướng camera về NPC gần nhất trong phạm vi") makeToggle("Aim Magic", "AimMagic", "Hỗ trợ hướng camera khi Tool được kích hoạt") makeToggle("Auto Bắn", "AutoShoot", "Tự kích hoạt Tool đang cầm khi có NPC hợp lệ") makeInfo("Hãy trang bị Tool có cơ chế tấn công do game của bạn quản lý.") elseif tab == "ESP" then makeToggle("ESP Line", "ESPLine", "Đường từ phía trên màn hình đến NPC") makeToggle("ESP Box", "ESPBox", "Khung 2D bao quanh NPC") makeToggle("ESP Name", "ESPName", "Tên Model / NPC") makeToggle("ESP Distance", "ESPDistance", "Khoảng cách tính bằng studs") makeToggle("ESP Hologram", "ESPHologram", "Highlight xuyên vật thể ở phía client") else makeToggle("No Clip", "NoClip", "Tắt va chạm cục bộ khi đang bật") makeToggle("Fly Air", "Fly", "Bay bằng nút điều khiển trên màn hình") makeToggle("Speed", "Speed", "Tăng tốc độ đi bộ") makeToggle("Jumping Air", "AirJump", "Nhấn Space để nhảy thêm trên không") makeToggle("Ghost", "Ghost", "Ẩn nhân vật cục bộ; không thay đổi trạng thái server") makeInfo("Fly Speed: " .. tostring(CONFIG.FlySpeed) .. " | Walk Speed: " .. tostring(CONFIG.WalkSpeed)) end end local tabButtons = {} for _, tabName in ipairs({"Main", "ESP", "Khác"}) do local button = Instance.new("TextButton") button.Size = UDim2.new(1/3, -4, 1, 0) button.BackgroundColor3 = Color3.fromRGB(28, 42, 32) button.TextColor3 = WHITE button.Text = tabName button.Font = Enum.Font.GothamBold button.TextSize = 12 button.Parent = Tabs Instance.new("UICorner", button).CornerRadius = UDim.new(0, 5) button.MouseButton1Click:Connect(function() for _, other in ipairs(tabButtons) do other.BackgroundColor3 = Color3.fromRGB(28, 42, 32) end button.BackgroundColor3 = Color3.fromRGB(15, 100, 43) renderTab(tabName) end) table.insert(tabButtons, button) end tabButtons[1].BackgroundColor3 = Color3.fromRGB(15, 100, 43) renderTab("Main") -- Drag window do local dragging = false local dragStart, startPosition Header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = Main.Position end end) Header.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then track(input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end)) end end) track(UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart Main.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end)) end local expandedSize = Main.Size MinButton.MouseButton1Click:Connect(function() State.Minimized = not State.Minimized Tabs.Visible = not State.Minimized Content.Visible = not State.Minimized Main.Size = State.Minimized and UDim2.fromOffset(310, 38) or expandedSize MinButton.Text = State.Minimized and "+" or "—" end) local function restoreCharacterVisuals() for part, old in pairs(OriginalProperties) do if part and part.Parent then pcall(function() part.LocalTransparencyModifier = old end) end end table.clear(OriginalProperties) end local function clearESP() for model, objects in pairs(ESPObjects) do for _, object in ipairs(objects) do if object and object.Parent then object:Destroy() end end ESPObjects[model] = nil end end local function cleanup() if Destroyed then return end Destroyed = true for _, connection in ipairs(Connections) do pcall(function() connection:Disconnect() end) end clearESP() restoreCharacterVisuals() local character = getCharacter() local hum = getHumanoid(character) if hum then hum.WalkSpeed = 16 hum.JumpPower = 50 end if ScreenGui then ScreenGui:Destroy() end _G.HP_TEAM_PRO_V1 = nil end CloseButton.MouseButton1Click:Connect(cleanup) -- Fly touch controls local FlyPad = Instance.new("Frame") FlyPad.Name = "FlyPad" FlyPad.Size = UDim2.fromOffset(112, 105) FlyPad.Position = UDim2.new(1, -128, 1, -145) FlyPad.BackgroundColor3 = Color3.fromRGB(10, 25, 15) FlyPad.BackgroundTransparency = 0.15 FlyPad.Visible = false FlyPad.Parent = ScreenGui Instance.new("UICorner", FlyPad).CornerRadius = UDim.new(0, 9) local FlyStroke = Instance.new("UIStroke") FlyStroke.Color = GREEN FlyStroke.Parent = FlyPad local function flyButton(text, position, value) local button = Instance.new("TextButton") button.Size = UDim2.fromOffset(44, 38) button.Position = position button.BackgroundColor3 = Color3.fromRGB(25, 80, 40) button.TextColor3 = WHITE button.Text = text button.Font = Enum.Font.GothamBold button.TextSize = 16 button.Parent = FlyPad Instance.new("UICorner", button).CornerRadius = UDim.new(0, 6) button.MouseButton1Down:Connect(function() FlyVertical = value end) button.MouseButton1Up:Connect(function() if FlyVertical == value then FlyVertical = 0 end end) button.TouchLongPress:Connect(function(_, state) if state == Enum.UserInputState.Begin then FlyVertical = value else if FlyVertical == value then FlyVertical = 0 end end end) end flyButton("+", UDim2.fromOffset(10, 8), 1) flyButton("-", UDim2.fromOffset(58, 8), -1) local flyHint = Instance.new("TextLabel") flyHint.BackgroundTransparency = 1 flyHint.Position = UDim2.fromOffset(4, 54) flyHint.Size = UDim2.new(1, -8, 0, 35) flyHint.Text = "UP / DOWN" flyHint.TextColor3 = GREEN flyHint.Font = Enum.Font.GothamBold flyHint.TextSize = 10 flyHint.Parent = FlyPad -- ESP objects are created per eligible NPC and updated each frame. local function getESP(model) if ESPObjects[model] then return ESPObjects[model] end local folder = {} local line = Instance.new("Frame") line.Name = "ESPLine" line.AnchorPoint = Vector2.new(0.5, 0) line.BackgroundColor3 = GREEN line.BorderSizePixel = 0 line.Visible = false line.Parent = ScreenGui local box = Instance.new("Frame") box.Name = "ESPBox" box.BackgroundTransparency = 1 box.BorderSizePixel = 0 box.Visible = false box.Parent = ScreenGui local boxStroke = Instance.new("UIStroke") boxStroke.Color = GREEN boxStroke.Thickness = 1.5 boxStroke.Parent = box local label = Instance.new("TextLabel") label.Name = "ESPLabel" label.BackgroundColor3 = Color3.fromRGB(0, 0, 0) label.BackgroundTransparency = 0.25 label.TextColor3 = GREEN label.Font = Enum.Font.GothamBold label.TextSize = 11 label.Size = UDim2.fromOffset(160, 20) label.AnchorPoint = Vector2.new(0.5, 1) label.Visible = false label.Parent = ScreenGui local highlight = Instance.new("Highlight") highlight.Name = "ESPHologram" highlight.FillColor = GREEN highlight.OutlineColor = GREEN highlight.FillTransparency = 0.82 highlight.OutlineTransparency = 0.05 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop highlight.Enabled = false highlight.Adornee = model highlight.Parent = ScreenGui folder.Line, folder.Box, folder.Label, folder.Highlight = line, box, label, highlight ESPObjects[model] = folder return folder end local function updateESP() local active = State.ESPLine or State.ESPBox or State.ESPName or State.ESPDistance or State.ESPHologram if not active then clearESP() return end local seen = {} local myRoot = getRoot(getCharacter()) if not myRoot then return end for _, model in ipairs(getNPCs()) do seen[model] = true local root = getModelRoot(model) local objects = getESP(model) if root then local distance = (root.Position - myRoot.Position).Magnitude local viewport, onScreen = Camera:WorldToViewportPoint(root.Position) local head = model:FindFirstChild("Head") or root local headPoint = Camera:WorldToViewportPoint(head.Position + Vector3.new(0, 1.5, 0)) local footPoint = Camera:WorldToViewportPoint(root.Position - Vector3.new(0, 3, 0)) local height = math.max(18, math.abs(footPoint.Y - headPoint.Y)) local width = math.max(14, height * 0.55) objects.Highlight.Enabled = State.ESPHologram objects.Line.Visible = State.ESPLine and onScreen objects.Box.Visible = State.ESPBox and onScreen objects.Label.Visible = (State.ESPName or State.ESPDistance) and onScreen if onScreen then local top = Vector2.new(headPoint.X, headPoint.Y) local bottom = Vector2.new(footPoint.X, footPoint.Y) local centerX = (top.X + bottom.X) / 2 objects.Line.Position = UDim2.fromOffset(Camera.ViewportSize.X / 2, 0) local dx = centerX - Camera.ViewportSize.X / 2 local dy = top.Y local length = math.sqrt(dx * dx + dy * dy) objects.Line.Size = UDim2.fromOffset(2, length) objects.Line.Rotation = math.deg(math.atan2(dy, dx)) - 90 objects.Box.Position = UDim2.fromOffset(centerX - width / 2, top.Y) objects.Box.Size = UDim2.fromOffset(width, height) local text = "" if State.ESPName then text = model.Name end if State.ESPDistance then text = text .. (text ~= "" and " " or "") .. string.format("%d studs", distance) end objects.Label.Text = text objects.Label.Position = UDim2.fromOffset(centerX, top.Y - 2) end end end for model, objects in pairs(ESPObjects) do if not seen[model] or not model.Parent then for _, object in pairs(objects) do if object and object.Parent then object:Destroy() end end ESPObjects[model] = nil end end end -- Tool activation callback for Aim Magic. Custom weapon systems may need to call -- _G.HP_TEAM_PRO_V1.AimMagicTarget() from their own client weapon script. local function onToolActivated(tool) if not State.AimMagic then return end local target = nearestNPC(CONFIG.Range) if target then aimAt(target, false) end end local function bindCharacter(character) local hum = character:WaitForChild("Humanoid", 10) if hum then track(character.ChildAdded:Connect(function(child) if child:IsA("Tool") then track(child.Activated:Connect(function() onToolActivated(child) end)) end end)) for _, child in ipairs(character:GetChildren()) do if child:IsA("Tool") then track(child.Activated:Connect(function() onToolActivated(child) end)) end end end end if LocalPlayer.Character then task.spawn(bindCharacter, LocalPlayer.Character) end track(LocalPlayer.CharacterAdded:Connect(bindCharacter)) -- Air jump local airJumps = 0 track(UserInputService.JumpRequest:Connect(function() if not State.AirJump then return end local hum = getHumanoid(getCharacter()) if hum and hum.FloorMaterial == Enum.Material.Air and airJumps < 1 then airJumps += 1 hum:ChangeState(Enum.HumanoidStateType.Jumping) end end)) track(RunService.Heartbeat:Connect(function() if Destroyed then return end local character = getCharacter() local hum = getHumanoid(character) local root = getRoot(character) if not character or not hum or not root then return end if hum.FloorMaterial ~= Enum.Material.Air then airJumps = 0 end -- Walk speed and noclip hum.WalkSpeed = State.Speed and CONFIG.WalkSpeed or 16 for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then if State.NoClip then part.CanCollide = false end end end -- Ghost is intentionally local-only. if State.Ghost then for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then if OriginalProperties[part] == nil then OriginalProperties[part] = part.LocalTransparencyModifier end part.LocalTransparencyModifier = 1 end end else restoreCharacterVisuals() end -- Client-side flight. Server may correct movement unless your own game permits it. FlyPad.Visible = State.Fly if State.Fly then hum:ChangeState(Enum.HumanoidStateType.Physics) local move = hum.MoveDirection * CONFIG.FlySpeed root.AssemblyLinearVelocity = Vector3.new(move.X, FlyVertical * CONFIG.FlyVerticalSpeed, move.Z) else if hum:GetState() == Enum.HumanoidStateType.Physics then hum:ChangeState(Enum.HumanoidStateType.GettingUp) end end -- Aimbot: smooth camera tracking, not a server hit guarantee. if State.Aimbot then local target = nearestNPC(CONFIG.Range) if target then aimAt(target, true) end end -- Tele Kill: move near the nearest NPC, then activate the equipped Tool. if State.TeleKill and os.clock() - LastTeleKill >= CONFIG.TeleKillInterval then LastTeleKill = os.clock() local target = nearestNPC(CONFIG.Range) local targetRoot = target and getModelRoot(target) if targetRoot then local offset = targetRoot.CFrame.LookVector * -CONFIG.TeleKillDistance character:PivotTo(CFrame.new(targetRoot.Position + offset, targetRoot.Position)) activateTool() end end -- Auto shoot does not lock the camera. if State.AutoShoot and os.clock() - LastAutoShoot >= CONFIG.AutoShootInterval then LastAutoShoot = os.clock() if nearestNPC(CONFIG.Range) then activateTool() end end updateESP() end)) -- Restore normal collision when toggled off, and reset on respawn. track(RunService.Stepped:Connect(function() if State.NoClip then return end local character = getCharacter() if not character then return end for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = true end end end)) _G.HP_TEAM_PRO_V1 = { Destroy = cleanup, State = State, Config = CONFIG, AimMagicTarget = function() if not State.AimMagic then return nil end local target = nearestNPC(CONFIG.Range) if target then aimAt(target, false) end return target end, } print("[HP TEAM PRO V1] Loaded. Use the GUI to enable features.")