Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to stop the player from being divided parts when dead?

I am trying to make my own death animations, but the problem is I don't know how I would make the player not become individual parts. Is it possible?

1 comment

1

Re-connect all of their joints. MakeJoints is a helpful method

1 answer

✓ Accepted answer

You can disable the humanoid's death state:

humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)

--this will prevent the character parts from falling. However, the player will still have the ability to walk. To counter this you can set the humanoid's walkspeed to 0
--example:
huumanoid.Died:Connect(function()
	humanoid.WalkSpeed = 0
end)

2 comments

0

note that disabling the death state occasionally won't work (might be a bug not sure)

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.