how would i make a textlabel do this if somewone died?
[CONSOLE]: Player has Died!
game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").Died:connect(function() for k, p in pairs(game.Players:GetPlayers()) do p.PlayerGui.ScreenGui.Frame.TextLabel.Text=tostring(player.Name)-- change this to whatever it is, Ex: p.PlayerGui.ScreenGui.TextLabel.Text etc. etc. end end) end) end)