This is not a request! I'm just simply asking how to extend my current script.
I have people in a match, and if one player dies/gets killed I want it to print who killed the player.
game:GetService('Players').PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
print(player.Name .. " has died!")
end)
end)
end)
