Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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?

0
Humanoid.BreakJointsOnDeath = false alivemaeonman 14 — 4y

2 answers

Log in to vote
0
Answered by
fff054 51
4 years ago
Edited 4 years ago

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!

0
Thanks! This worked for me! Thank you so much! BrandonXYZ9 18 — 4y
0
If this worked, take this as the answer to your problem so people know it has been solved. killerbrenden 1537 — 4y
0
OP, pls next time accept answer after you get your problem solved. it helps everyone see it was solved. royaltoe 5144 — 4y
0
oh alright! BrandonXYZ9 18 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

set Humanoid.BreakJointsOnDeath to false in a script

Answer this question