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

How do I breakjoints of a certain part of the Player?

Basically, I am trying to break the head joint of a player once they died, however every time I try, it does not work. Any help?

1 comment

1

joints are of class Motor6D so you just need to use FindFirstChildOfClass on part you want to destroy joint of: part:FindFirstChildOfClass("Motor6D"):Destroy() where part is your head.

1 answer

✓ Accepted answer

The easiest way to do this is to set PlayerCharacter.Humanoid.BreakJointsOnDeath to False so a character will be a some sort of statue when he dies. And if you want to cut off head, you want to set PlayerCharacter.Head.CanCollide to True (false by default) so it can collide with a surface, and whenever a character dies, remove Motor6D from a head (it's called Neck): PlayerCharacter.Head:FindFirstChildOfClass("Motor6D"):Destroy()

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