I tried using the Humanoid.Died script as a test but it didn't work. I used the one posted here which was
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)
is there something i'm missing? I'm new to scripting so forgive me if I do something wrong. I tried this script in StarterCharacterScripts and StarterPlayerScripts

4 comments
What does it say in the output?
nothing, i was looking for a "has died!" but i didnt see anything
What type of script is it in? Where is that script located?
I put it in a local script. I put it inside of StarterCharacterScripts, StarterPlayerScripts, Workspace, StarterPack, and StarterGui but it didn't work in any of them. I didn't get any output.