Used the following to catch when the player humanoid died.
System Information:
Windows 11 Pro 24H2
Every time you set it to ragdoll doesn’t it break the neck weld causing death? You could change the RequiresNeck Humanoid setting to false.
What’s the entire section of script you are using?
Copy/Paste it here with 3 quotes before and after the script (```) so if formats properly.
while wait() do
workspace.MagicLuau.Humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)
end
For the death logger in StarterCharacterScript
script.Parent.Humanoid.Died:Connect(function()
print("Died")
end)
Also i don’t think even if it was the neck the humanoid was supposed to repetly fire died events.
But what happens when you try my suggestion?
If the neck joint is trying to weld back together every frame while you are setting it to ragdoll every frame this could be the case.
Why in the heck are you setting it to ragdoll every frame anyway?
The Humanoid ChangeState documentation mentions using SetStateEnabled as well.
Still happens when RequireNeck is disabled. You can try it too in your place to confirm
Click on the link in my previous post to see what the Roblox documentation has to say.
Also look at SetStateEnabled.
Mostly happening when using the reset character button.