How to prevent the tool from breaking apart on player death [Tutorial]

(Didn’t know where to post it so I post it here)

Tutorial:
Do You Want to use the tool again after the player equipped it and died but now it’s all broken?
This is a general idea tutorial to where you should look

In here we want to do 3 things:
1 - Disable the BreakJointsOnDeath
2 - Put the tool somewhere else
3 - Break the character manually – (If you want)

  1. In order to make sure the the character of the player doesn’s break itself and the tool you need to get it’s Humanoid and set the BreakJointsOnDeath to false: Humanoid.BreakJointsOnDeath = false
  2. Depend on your system and way of doing it but basically put it where you store your tools normally
  3. In order to break the character manually you need to get the character and loop throughout its descendants (not children!!) and if one of them is a Motor6D then disable it.
    After or before you do it remember to make the head CanCollide = true, to make sure it doesn’t cause any troubles and fall off the map.

Hope I helped and have a good day

1 Like

Hey there ! This tutorial seems useful to those who need this.
However, i believe you should put it in resources & tutorial sections

1 Like

Thanks! I think I will probably move it there