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

How to Disable Joints / Body parts Breaking Apart on Death?

I've Looked around at posts on Humanoid.BreakJointsOnDeath, But I dont know how to Enable or Disable It. Are there any Scripts that can do this? Or where the BreakJointsOnDeath is?

1 comment

0

Humanoid.BreakJointsOnDeath = false

2 answers

✓ Accepted answer

There's A Property That The Humanoid Brings, Which Is Called BreakJointsOnDeath. If You Want To Disable It, Just Do This:

Local Script:

local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
hum.BreakJointsOnDeath = false -- This Will Make So That The Joints Don't Break.

Server Script:

game.Players.PlayerAdded:Connect(function(plr)
       local char = plr.Character or plr.CharacterAdded:Wait()
       char:WaitForChild("Humanoid").BreakJointsOnDeath = false
end)

If You Want To Make A Ragdoll Script, You'll Have To Change Some Stuff, But This Is Basically What You Wanted To Do.

Have A Nice Day!

4 comments

0

Thanks! This worked for me! Thank you so much!

0

If this worked, take this as the answer to your problem so people know it has been solved.

0

OP, pls next time accept answer after you get your problem solved. it helps everyone see it was solved.

0

oh alright!

set Humanoid.BreakJointsOnDeath to false in a script

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