Hey devforum how can I make a death animation replicate over to multiple players?

Hey, Devforum.

The weird thing is, is when I kill the player via reset or console the animations plays for both local and other players, however when I have a player kill the local player with a classic sword the animation doesn’t replicate it is only on the local player’s screen, the other players just see the normal Roblox break joints death, why?
Here’s my script currently;

local function died()
	humanoid.Health = 100
	character.HumanoidRootPart.Anchored = true
	downed_animation:Play()
	wait(downed_animation.Length - 0.16)
	animation.AnimationId = "rbxassetid://8499397681"
	downed_animation_idle = humanoid.Animator:LoadAnimation(animation)
	downed_animation_idle:Play()
	wait(4)
	character.HumanoidRootPart.Anchored = false
	humanoid.Health = 0
	character:BreakJoints()
end

humanoid.Died:Connect(died)