Health Bar doesnt change when dying

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)