Kill Humanoid Without Breaking Apart

Hey! I Am Wondering on How I Could Kill the Humanoid Without It Breaking. I mean When the Humanoid Dies, Usually the Player Character Breaks Apart into Many pieces. How Can i Prevent that? Is there A Way?

There’s a property in the Humanoid class called BreakJoinsOnDeath.
You can make a script in the StarterPlayer → StarterCharacterScripts that does something like:

script.Parent:FindFirstChildOfClass("Humanoid").BreakJoinsOnDeath = false
1 Like

Also, you have chosen the wrong category to put this question in. Please, read the category descriptions before you post something.

1 Like

image

Also, just a reminder that when you get a solution to a question you asked on the forum, make sure to mark it as the “solution” to your post.

1 Like

Im Getting an error for BreakJointsOnDeath is not a Valid Member

1 Like

my bad

script.Parent:WaitForChild("Humanoid").BreakJoinsOnDeath = false
1 Like

you again did a typo in “Joints”

1 Like

lol
it’s because i just copied and pasted my first post with it in it, sorry

You spelled “BreakJointsOnDeath” incorrectly. You missed the “t” in Joints. Also shouldn’t this be in #help-and-feedback:scripting-support?

1 Like

Yes, yes it should, I referenced that in one of my previous posts.

yep. My Mistake Its my First time creating a post on here.