Problems with custom death

I’m having problems with my custom death script. I’ve set it so when the player joins the game their humanoid setting “BreakJointsOnDeath” is false. When the player dies, sometimes the server detects when the humanoid has died, and other times it doesn’t even run the code inside the “Humanoid.Died:Connect()” function.


It works sometimes, and other times the person is stuck dead forever. When I don’t set the humanoid’s “BreakJointsOnDeath” setting to false then this doesn’t happen.

1 Like

You need to give a script man else how are we gonna fix your problem.

		local humanoid = character:WaitForChild("Humanoid")
		humanoid.BreakJointsOnDeath = false
			--stuff in here doesnt even run, i tested this by printing

Either the respawn time is too long or smthing else

Might be the respawn time, I’ll try lowering it.

Still happening. I did the same script on the client and it works. It seems the server sometimes doesn’t detect when the player dies.

Player doesn’t respawn with BreakJointsOnDeath set to true - Help and Feedback / Scripting Support - DevForum | Roblox