Here is a script that I made to break the joints of connected parts because the parts are unanchored but they are connected by studs and inlets. However, when a player touches it, the player dies too. I assume that this also breaks some of the joints in the player that connect it to the torso and head and stuff. How would I prevent those essential player joints from breaking while letting the parts continue to break joints?
function onTouched(hit)
hit:BreakJoints()
end

1 comment
Thank you for this simple answer! I have just tried using it and it works! I don't die anymore! Yay! :D