CharacterRemoving
doesn’t fire when the player’s character dies.
local players = game:GetService("Players")
local localPlayer = players.LocalPlayer
localPlayer.CharacterRemoving:Connect(function(character)
print(character.Name)
end)
CharacterRemoving
doesn’t fire when the player’s character dies.
local players = game:GetService("Players")
local localPlayer = players.LocalPlayer
localPlayer.CharacterRemoving:Connect(function(character)
print(character.Name)
end)