game.Players.PlayerAdded:connect(function(player) print(player.Name.." ".."has joined") repeat wait() until player.Character.Head player.Character.Humanoid.Died:connect(function() print(player.Name.." ".."has died") end) end)
game.Players.PlayerAdded:connect(function(player) print(player.Name.." ".."has joined") player.CharacterAdded:connect(function(char) --fires every time the player respawns. print(player.Name.." ".."has spawned") char.Humanoid.Died:connect(function() print(player.Name.." ".."has died") end) end) end)