Avatar dies on other people’s clients but not on server or player’s own client

To some players it will appear as if an avatar has died - their limbs fall apart and they lie on a heap.
To other players and the player whose avatar it is the avatar has not died - they can still move or play. To the clients where the avatar appears dead it is as if the player is invisible

This only happens exactly in this part of the game, it seems something related to physics, In the image below are the spins where the bug occurs

Below is the script that makes the player die when he touches the spin

for _, part in CollectionService:GetTagged("KillBrick") do
	part.Touched:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") then
			hit.Parent.Humanoid.Health = 0
		end
	end)
end

I found a topic from 2018 with the same problem, but there is no solution :frowning:

Is the code in a localscript? If so, do:

local LocalPlayer = game:GetService("Players").LocalPlayer

for _, part in CollectionService:GetTagged("KillBrick") do
	if hit.Parent:FindFirstChild("Humanoid") then
		if hit.Parent == LocalPlayer.Character then
			hit.Parent.Humanoid.Health = 0
		end
	end
end

No, the code is in ServerScriptService