Hello I am having trouble, I'm trying to detect when a players humanoid died, but I don't know how, can someone help me please? Thanks! :D
Use the Died Event. Here's an example:-
-- This script makes a message in the server when a player dies, like if I died then a message will appear saying "kudorey619 has died!" 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
For more information: http://wiki.roblox.com/index.php/Died_(Event)