TheUnknownDiscord

Untitled

Sep 24th, 2021 (edited)
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Arm"))
  2.                 limbcollider.Size = Vector3.new(1.4,1,1)
  3.                 limbcollider.Shape = "Cylinder"
  4.                 limbcollider.Transparency = 1
  5.                 limbcollider.Name = "LimbCollider"
  6.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  7.                 limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Arm")
  8.                 limbcolliderweld.Part1 = limbcollider
  9.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  10.             local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Arm"))
  11.                 limbcollider2.Size = Vector3.new(1.4,1,1)
  12.                 limbcollider2.Shape = "Cylinder"
  13.                 limbcollider2.Transparency = 1
  14.                 limbcollider2.Name = "LimbCollider"
  15.                 local limbcolliderweld2 = Instance.new("Weld", limbcollider)
  16.                 limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Arm")
  17.                 limbcolliderweld2.Part1 = limbcollider2
  18.                 limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  19.     for i,v in pairs(owner.Character["Left Arm"]:GetDescendants()) do
  20.         if v:IsA("Motor6D") then
  21.             local Socket = Instance.new("BallSocketConstraint")
  22.             local a1 = Instance.new("Attachment")
  23.             local a2 = Instance.new("Attachment")
  24.             a1.Parent = v.Part0
  25.             a2.Parent = v.Part1
  26.             Socket.Parent = v.Parent
  27.             Socket.Attachment0 = a1
  28.             Socket.Attachment1 = a2
  29.             a1.CFrame = v.C0
  30.             a2.CFrame = v.C1
  31.             Socket.LimitsEnabled = true
  32.             Socket.TwistLimitsEnabled = true
  33.             v:Destroy()
  34.     end
  35. end
  36.     for i,v in pairs(owner.Character["Right Arm"]:GetDescendants()) do
  37.         if v:IsA("Motor6D") then
  38.             local Socket = Instance.new("BallSocketConstraint")
  39.             local a1 = Instance.new("Attachment")
  40.             local a2 = Instance.new("Attachment")
  41.             a1.Parent = v.Part0
  42.             a2.Parent = v.Part1
  43.             Socket.Parent = v.Parent
  44.             Socket.Attachment0 = a1
  45.             Socket.Attachment1 = a2
  46.             a1.CFrame = v.C0
  47.             a2.CFrame = v.C1
  48.             Socket.LimitsEnabled = true
  49.             Socket.TwistLimitsEnabled = true
  50.             v:Destroy()
  51.     end
  52. end
  53.     for i,v in pairs(owner.Character.Head:GetDescendants()) do
  54.         if v:IsA("Motor6D") then
  55.             local Socket = Instance.new("BallSocketConstraint")
  56.             local a1 = Instance.new("Attachment")
  57.             local a2 = Instance.new("Attachment")
  58.             a1.Parent = v.Part0
  59.             a2.Parent = v.Part1
  60.             Socket.Parent = v.Parent
  61.             Socket.Attachment0 = a1
  62.             Socket.Attachment1 = a2
  63.             a1.CFrame = v.C0
  64.             a2.CFrame = v.C1
  65.             Socket.LimitsEnabled = true
  66.             Socket.TwistLimitsEnabled = true
  67.             v:Destroy()
  68.     end
  69. end
  70.     owner.Character.Humanoid.RequiresNeck = false
  71. owner.Character.Humanoid.WalkSpeed = 32
Add Comment
Please, Sign In to add comment