local r=script.Parent:WaitForChild("\072\117\109\097\110\111\105\100")r.BreakJointsOnDeath=false r.Died:Connect(function()for r,P in pairs(script.Parent:GetDescendants())do if P:IsA("\077\111\116\111\114\054\068")then local r=Instance.new("\066\097\108\108\083\111\099\107\101\116\067\111\110\115\116\114\097\105\110\116")local L=Instance.new("\065\116\116\097\099\104\109\101\110\116")local M=Instance.new("\065\116\116\097\099\104\109\101\110\116")L.Parent=P.Part0 M.Parent=P.Part1 r.Parent=P.Parent r.Attachment0=L r.Attachment1=M L.CFrame=P.C0 M.CFrame=P.C1 r.LimitsEnabled=true r.TwistLimitsEnabled=true P.Enabled=false end end end)
--put on startercharacterscripts
--Made Actually like slap battles
--Use this while it lasts because roblox will take it down
local humanoid = script.Parent:WaitForChild("Humanoid")

humanoid.BreakJointsOnDeath = false

humanoid.Died:Connect(function()
	for index, joint in pairs(script.Parent:GetDescendants()) do
		if joint:IsA("Motor6D") then
			local socket = Instance.new("BallSocketConstraint")
			local a1 = Instance.new("Attachment")
			local a2 = Instance.new("Attachment")
			a1.Parent = joint.Part0
			a2.Parent = joint.Part1
			socket.Parent = joint.Parent
			socket.Attachment0 = a1
			socket.Attachment1 = a2
			a1.CFrame = joint.C0
			a2.CFrame = joint.C1
			socket.LimitsEnabled = true
			socket.TwistLimitsEnabled = true
			joint.Enabled = false
		end
	end
end)
