local c=script.Parent.Parent:WaitForChild("\072\117\109\097\110\111\105\100")c.BreakJointsOnDeath=false wait(.01)for c,A in pairs(script.Parent.Parent:GetDescendants())do if A:IsA("\077\111\116\111\114\054\068")then local c=Instance.new("\066\097\108\108\083\111\099\107\101\116\067\111\110\115\116\114\097\105\110\116")local p=Instance.new("\065\116\116\097\099\104\109\101\110\116")local l=Instance.new("\065\116\116\097\099\104\109\101\110\116")p.Parent=A.Part0 l.Parent=A.Part1 c.Parent=A.Parent c.Attachment0=p c.Attachment1=l p.CFrame=A.c0 l.CFrame=A.c1 c.LimitsEnabled=true c.TwistLimitsEnabled=true A:Destroy()local u=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121")u.MaxForce=Vector3.new(math.huge,math.huge,math.huge)u.Velocity=script.Parent.Parent.HumanoidRootPart.CFrame.lookVector*0 u.Parent=script.Parent.Parent.HumanoidRootPart game.Debris:AddItem(u,.1)end end wait(3)for c,A in pairs(script.Parent.Parent:GetDescendants())do if A:IsA("\066\097\108\108\083\111\099\107\101\116\067\111\110\115\116\114\097\105\110\116")then A.UpperAngle=0 A.TwistUpperAngle=0 A.TwistLowerAngle=0 local c=Instance.new("\077\111\116\111\114\054\068",A.Parent)c.Part0=A.Attachment0.Parent c.Part1=A.Attachment1.Parent c.C0=A.Attachment0.CFrame c.C1=A.Attachment1.CFrame A:Destroy()end end script.Parent:Destroy()
---bruh

local humanoid = script.Parent.Parent:WaitForChild("Humanoid")

humanoid.BreakJointsOnDeath = false

wait(0.01)
for index, joint in pairs(script.Parent.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:Destroy()
		local bv = Instance.new("BodyVelocity")
		bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
		bv.Velocity = script.Parent.Parent.HumanoidRootPart.CFrame.lookVector * -0
		bv.Parent = script.Parent.Parent.HumanoidRootPart
		game.Debris:AddItem(bv, 0.1)
	end
end
wait(3)
for i, v in pairs(script.Parent.Parent:GetDescendants()) do
	if v:IsA("BallSocketConstraint") then
		v.UpperAngle = 0
		v.TwistUpperAngle = 0
		v.TwistLowerAngle = 0
		local Joins = Instance.new("Motor6D", v.Parent)
		Joins.Part0 = v.Attachment0.Parent
		Joins.Part1 = v.Attachment1.Parent
		Joins.C0 = v.Attachment0.CFrame
		Joins.C1 = v.Attachment1.CFrame
		v:Destroy()
	end
end
script.Parent:Destroy()
