local C = getgenv().CorruptCombat if not C then print("[k] no helpers") return end local LP = game:GetService("Players").LocalPlayer local hum = LP.Character and LP.Character:FindFirstChildOfClass("Humanoid") print("[k] gun:", (C.Gun() or {Name="none"}).Name, "| hp:", hum and hum.Health) -- pick the closest valid target local Best, BestDist for _, plr in ipairs(game:GetService("Players"):GetPlayers()) do local Ok, HRP = C.Target(plr) if Ok and HRP and LP.Character and LP.Character:FindFirstChild("HumanoidRootPart") then local d = (HRP.Position - LP.Character.HumanoidRootPart.Position).Magnitude if not BestDist or d < BestDist then Best, BestDist = plr, d end end end if not Best then print("[k] no valid target right now") return end local th = Best.Character:FindFirstChildOfClass("Humanoid") print(string.format("[k] target %s hp=%.0f dist=%.0f", Best.Name, th.Health, BestDist)) local t0 = os.clock() local Ok, Result = C.Kill(Best, { Shots = 16, Time = 8 }) print(string.format("[k] result=%s reason=%s in %.1fs | hp now=%s", tostring(Ok), tostring(Result), os.clock() - t0, Best.Character and Best.Character:FindFirstChildOfClass("Humanoid") and math.floor(Best.Character.Humanoid.Health) or "gone"))