Do what ROBLOX does to keep track of KOs ingame.
Every time a weapon causes damage, check to see that the Humanoid is not dead yet and if not, insert an ObjectValue into the humanoid with the Value equal to the owner of the weapon (this is all in the weapon's script). Make the 'tag' have a unique name and have it remove itself after a second or two.
Then, in whatever script is keeping track of a Humanoid dying, check for these little 'tags' that tell you who last caused damage to the Humanoid before it died. The Value of that tag is your killer. |