So i put this together
delay(.5,function()
if targethumanoid and targettorso and tool.Parent.Humanoid and targethumanoid.Health > 0 then
for i, old in pairs(targethumanoid:GetChildren()) do
if old and old.Name == "creator" then
old:destroy()
end
end
local tag = Instance.new("ObjectValue")
tag.Value = tool.Parent
tag.Name = "creator"
debris:AddItem(tag, 3)
tag.Parent = targethumanoid
targethumanoid:TakeDamage(20)
end
end)
But i dont know how to listen for it. Doesnt roblox take care of it? Or do i need to do something else?

1 comment
https://scriptinghelpers.org/questions/8528/how-can-you-tell-if-player1-killed-player2#11062 You will only be able to handle KOs in game, they will not be counted on the Roblox website.