For some reason, Humanoid.Died isn't firing for me. I used my own way and Roblox's example. And I have tried Script and LocalScript.
Code: ` game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
print(player.Name .. " has died!")
end)
end)
end) `
There are no errors when I die or reset. (Sorry if my grammar is bad)

10 comments
Did you check the Output?
yo specify some more informations pl0x
What other information do you need?
This happens rarely to me, but there's a chance that in studio you might spawn before the script has executed. (This happens typically if you have a WaitForChild earlier in your script). That would cause the PlayerAdded event to not fire. In a localscript, replace the PlayerAdded with local player = game.Players.LocalPlayer, and see if it works.
Still does not work and there are still nothing about the script.
https://wiki.roblox.com/index.php?title=API:Class/Humanoid/Died
I used the example and read the page but still not working.
Nevermind, so apparently when roblox studio updated, it started requiring ":Connect" to be capital. I find that dumb but now it's working. Thank you so much! I had this problem for so long.
It's not dumb but ok.
Put wait(2) after the characteradded function