local a,b,c=game:GetService'Players',game:GetService'RunService',workspace.CurrentCamera local d,e,f=a.LocalPlayer,{HitboxSize=Vector3.new(7,7,7),HitboxLimb='head',ESPColor=Color3.fromRGB(255,0,0),TracerColor=Color3.fromRGB(255,255,255),TracerThickness=1,TeamCheck=false},{}local function createHighlight(g)if not g then return end if g:FindFirstChild'HitboxESP'then return end local h=Instance.new'Highlight'h.Name='HitboxESP'h.Adornee=g h.FillColor=e.ESPColor h.OutlineColor=Color3.new(1,1,1)h.FillTransparency=0.5 h.OutlineTransparency=0 h.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop h.Parent=g end local function applyHitbox(g)if not g:IsA'BasePart'then return end if g.Name:lower()~=e.HitboxLimb then return end g.Size=e.HitboxSize g.Transparency=0.9 g.CanCollide=false g.Massless=true end local function setupCharacter(g)createHighlight(g)for h,i in ipairs(g:GetChildren())do if i:IsA'BasePart'then applyHitbox(i)end end g.DescendantAdded:Connect(function(h)if h:IsA'BasePart'then applyHitbox(h)end end)end local function createTracer(g)local h=Drawing.new'Line'h.Thickness=e.TracerThickness h.Color=e.TracerColor h.Transparency=1 f[g]=h end local function removeTracer(g)if f[g]then f[g]:Remove()f[g]=nil end end local function updateTracers()for g,h in pairs(f)do if g and g.Parent and g.Character and g.Character:FindFirstChild'HumanoidRootPart'and g.Character:FindFirstChild'Humanoid'and g.Character.Humanoid.Health>0 then if e.TeamCheck and g.Team==d.Team then h.Visible=false continue end local i=g.Character.HumanoidRootPart local j,k=c:WorldToViewportPoint(i.Position)if k then h.From=Vector2.new(c.ViewportSize.X/2,c.ViewportSize.Y)h.To=Vector2.new(j.X,j.Y)h.Visible=true else h.Visible=false end else h.Visible=false end end end local function setupPlayer(g)if g==d then return end if g.Character then setupCharacter(g.Character)end g.CharacterAdded:Connect(function(h)task.wait(0.5)setupCharacter(h)end)createTracer(g)end for g,h in ipairs(a:GetPlayers())do setupPlayer(h)end a.PlayerAdded:Connect(function(g)setupPlayer(g)end)a.PlayerRemoving:Connect(function(g)removeTracer(g)end)b.Heartbeat:Connect(function()for g,h in ipairs(a:GetPlayers())do if h~=d and h.Character then local i=h.Character:FindFirstChild(e.HitboxLimb)or h.Character:FindFirstChild'Head'if i then applyHitbox(i)end end end end)b.RenderStepped:Connect(function()updateTracers()end)