Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local playername = owner.Name
- repeat wait() until game.Players:WaitForChild(playername).Character or game.Players:WaitForChild(playername).CharacterAdded:Wait()
- local tool = Instance.new("Tool",game.Players:WaitForChild(playername).Backpack)
- tool.RequiresHandle = false
- tool.Name = "GrabTool"
- tool.ToolTip = "Grabbing to the run"
- local equipped = false
- function newRoot(char)
- local root = Instance.new("Part")
- root.Parent = char
- root.Size = char.Torso.Size
- root.Name = "HumanoidRootPart"
- root.Transparency = 1
- local rootJoint = Instance.new("Motor6D")
- rootJoint.Parent = root
- rootJoint.Part0 = root
- rootJoint.Part1 = char:FindFirstChild("Torso")
- rootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- rootJoint.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- rootJoint.Name = "RootJoint"
- end
- function motortoweld(m)
- local weld
- if m ~= nil then
- weld = Instance.new("Weld")
- weld.Part0 = m.Part0
- weld.Part1 = m.Part1
- weld.C0 = m.C0
- weld.C1 = m.C1
- weld.Name = m.Name.. " Weld"
- return weld
- end
- return false
- end
- function save(s)
- local cl = s:Clone()
- s:Destroy()
- return cl
- end
- local PLR
- local HRP
- local Torso
- local motorleftarm
- local motorrightarm
- local motortorso
- local torsoW
- local leftArmW
- local RightArmW
- local grabbing = false
- local ArmsOut = false
- local hitboxTime = 1
- local canActivate = true
- local check = 1
- local cooldown = 1.5
- local OChar
- local OTorso
- local WeldTogether
- local HeadOS
- local TorsoOS
- local LArmOS
- local RArmOS
- local LLegOS
- local RLegOS
- local HeadO
- local TorsoO
- local LArmO
- local RArmO
- local LLegO
- local RLegO
- local oppr15 = false
- local hasAnims = false
- function idle()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0, 0, -0.241844743, -0.241844743, -0.939692616, -0.707106769, 0.707106769, 0, 0.664462984, 0.664462984, -0.342020124)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0, 0, -0.241844654, 0.241844654, 0.939692676, 0.707106769, 0.707106769, 0, -0.664463043, 0.664463043, -0.342020005)}):Play()
- end
- function GrabAnim()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0.5, -0.5, 0.492403895, 0.173648059, 0.852868557, 0.866025388, -3.78551732e-08, -0.5, -0.0868239924, 0.984807789, -0.150383636)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0.5, -0.5, 0.492403895, -0.173648059, -0.852868557, -0.866025388, -3.78551732e-08, -0.5, 0.0868239924, 0.984807789, -0.150383636)}):Play()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)}):Play()
- wait(0.3)
- end
- function GrabStart(OPP)
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0, 0, 1.49501744e-08, 0.342020124, 0.939692616, 1, -4.37113883e-08, 0, 4.10752676e-08, 0.939692616, -0.342020124)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0, 0, 0.122787811, -0.696364224, -0.707106769, -0.98480773, -0.173648193, 0, -0.122787811, 0.696364224, -0.707106769)}):Play()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, -1, 0.5, -1, -1.3076621e-07, 7.54978942e-08, 0, 0.49999997, 0.866025448, -1.50995803e-07, 0.866025448, -0.49999997)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Left Hip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0.707106769, -0.707106769, 0, 0.707106769, 0.707106769, 1, 3.09086197e-08, -3.09086197e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Neck Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, 1, 0, -1, -6.18172393e-08, 6.18172393e-08, 0, 0.707106769, 0.707106769, -8.74227766e-08, 0.707106769, -0.707106769)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Right Hip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, -0.707106769, 0.707106769, 0, 0.707106769, 0.707106769, -1, 3.09086197e-08, -3.09086197e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.HumanoidRootPart:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.5, 0, -1, 1, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)}):Play()
- wait(0.3)
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0, 0, 0.342020094, -0.321393847, 0.883022189, -8.21505353e-08, -0.939692616, -0.342020154, 0.939692616, 0.116977692, -0.321393788)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.5, 0, -1, 0.707106829, -0.499999851, -0.5, 1.06770166e-07, -0.707106829, 0.707106769, -0.707106709, -0.50000006, -0.5)}):Play()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, -0, 0.5, -1, 1.50995803e-07, 6.60023616e-15, 0, -4.37113883e-08, 1, 1.50995803e-07, 1, 4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.HumanoidRootPart:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 1.5, 1, 1, 0, 0, 0, 0.939692616, -0.342020154, 0, 0.342020154, 0.939692616)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Left Hip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, -1, 0, 1.91068547e-15, -4.37113883e-08, -1, -1, -4.37113883e-08, 0, -4.37113883e-08, 1, -4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0.5, 0, -0.707106769, -7.46200044e-08, -0.707106769, -0.707106769, -3.09086197e-08, 0.707106769, -7.46200044e-08, 1, -3.09086197e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Neck Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, 1, 0, -1, -6.18172393e-08, 6.18172393e-08, 0, 0.707106769, 0.707106769, -8.74227766e-08, 0.707106769, -0.707106769)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Right Hip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, -1, 0, 1.91068547e-15, 4.37113883e-08, 1, 1, -4.37113883e-08, 0, 4.37113883e-08, 1, -4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0.5, 0, -0.707106769, 7.46200044e-08, 0.707106769, 0.707106769, -3.09086197e-08, 0.707106769, 7.46200044e-08, 1, -3.09086197e-08)}):Play()
- end
- function GrabStartr15(OPP)
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0, 0, 1.49501744e-08, 0.342020124, 0.939692616, 1, -4.37113883e-08, 0, 4.10752676e-08, 0.939692616, -0.342020124)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-1, 0, 0, 0.122787811, -0.696364224, -0.707106769, -0.98480773, -0.173648193, 0, -0.122787811, 0.696364224, -0.707106769)}):Play()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, -1, 0.5, -1, -1.3076621e-07, 7.54978942e-08, 0, 0.49999997, 0.866025448, -1.50995803e-07, 0.866025448, -0.49999997)}):Play()
- game:GetService("TweenService"):Create(OPP.Head:WaitForChild("Neck Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-5.79121036e-08, 0.849033773, 1.19686121e-07, 1, 0, 0, 0, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769)}):Play()
- game:GetService("TweenService"):Create(OPP.LeftUpperArm:WaitForChild("LeftShoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.97160387, 0.597512901, 1.19686121e-07, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769, 0, 0, 0, 1)}):Play()
- game:GetService("TweenService"):Create(OPP.RightUpperArm:WaitForChild("RightShoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.971603811, 0.597512901, 1.19686121e-07, 0.707106769, -0.707106769, 0, 0.707106769, 0.707106769, 0, 0, 0, 1)}):Play()
- game:GetService("TweenService"):Create(OPP.RightUpperLeg:WaitForChild("RightHip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.497852921, -0.200248495, -1.91973395e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)}):Play()
- game:GetService("TweenService"):Create(OPP.LowerTorso:WaitForChild("Root Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.5, -1, -1, -1, 0, -1.50995803e-07, 0, 1, 0, 1.50995803e-07, 0, -1)}):Play()
- game:GetService("TweenService"):Create(OPP.LeftUpperLeg:WaitForChild("LeftHip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.49785316, -0.200248495, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)}):Play()
- wait(0.3)
- game:GetService("TweenService"):Create(Torso:WaitForChild("Right Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 0, 0, 0.342020094, -0.321393847, 0.883022189, -8.21505353e-08, -0.939692616, -0.342020154, 0.939692616, 0.116977692, -0.321393788)}):Play()
- game:GetService("TweenService"):Create(Torso:WaitForChild("Left Shoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.5, 0, -1, 0.707106829, -0.499999851, -0.5, 1.06770166e-07, -0.707106829, 0.707106769, -0.707106709, -0.50000006, -0.5)}):Play()
- game:GetService("TweenService"):Create(HRP:WaitForChild("RootJoint Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0, -0, 0.5, -1, 1.50995803e-07, 6.60023616e-15, 0, -4.37113883e-08, 1, 1.50995803e-07, 1, 4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.LowerTorso:WaitForChild("Root Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(1, 1.5, -0.5, -1, 8.91785632e-08, -6.18172393e-08, -1.06770166e-07, -0.707106829, 0.707106769, 1.93473753e-08, 0.707106769, 0.707106829)}):Play()
- game:GetService("TweenService"):Create(OPP.RightUpperArm:WaitForChild("RightShoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.971603811, 0.597512901, 1.19686121e-07, 0.707106769, -0.49999997, 0.49999997, 0, -0.707106769, -0.707106769, 0.707106769, 0.49999997, -0.49999997)}):Play()
- game:GetService("TweenService"):Create(OPP.RightUpperLeg:WaitForChild("RightHip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(0.497852921, -0.200248495, -1.91973395e-05, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.LeftUpperArm:WaitForChild("LeftShoulder Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.97160387, 0.597512901, 1.19686121e-07, 0.707106769, 0.49999997, -0.49999997, 0, -0.707106769, -0.707106769, -0.707106769, 0.49999997, -0.49999997)}):Play()
- game:GetService("TweenService"):Create(OPP.LeftUpperLeg:WaitForChild("LeftHip Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-0.49785316, -0.200248495, -0, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)}):Play()
- game:GetService("TweenService"):Create(OPP.Head:WaitForChild("Neck Weld"),TweenInfo.new(0.3,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{C0 = CFrame.new(-5.79121036e-08, 0.849033773, 1.19686121e-07, 1, 0, 0, 0, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769)}):Play()
- end
- tool.Equipped:Connect(function()
- if not grabbing then
- Char = tool.Parent
- PLR = game.Players:WaitForChild(Char.Name)
- HRP = Char.HumanoidRootPart
- Torso = Char.Torso
- leftArmW = motortoweld(Char.Torso["Left Shoulder"])
- RightArmW = motortoweld(Char.Torso["Right Shoulder"])
- torsoW = motortoweld(Char.HumanoidRootPart.RootJoint)
- motorleftarm = save(Char.Torso["Left Shoulder"])
- motorrightarm = save(Char.Torso["Right Shoulder"])
- motortorso = save(Char.HumanoidRootPart.RootJoint)
- leftArmW.Parent = Char.Torso
- RightArmW.Parent = Char.Torso
- torsoW.Parent = Char.HumanoidRootPart
- Char["Left Arm"].Touched:Connect(grabbed)
- Char["Right Arm"].Touched:Connect(grabbed)
- equipped = true
- idle()
- end
- end)
- tool.Unequipped:Connect(function()
- equipped = false
- if not grabbing then
- motorleftarm.Parent = Char.Torso
- motorrightarm.Parent = Char.Torso
- motortorso.Parent = Char.HumanoidRootPart
- torsoW:Destroy()
- leftArmW:Destroy()
- RightArmW:Destroy()
- end
- end)
- tool.Activated:Connect(function()
- local swagewt = false
- if not grabbing and canActivate and equipped then
- swagewt = true
- canActivate = false
- check += 1
- local ti = check
- ArmsOut = true
- delay(hitboxTime, function()
- if ti == check then
- ArmsOut = false
- end
- end)
- GrabAnim()
- wait(cooldown)
- if not grabbing then
- idle()
- end
- canActivate = true
- end
- if grabbing and canActivate and equipped and not swagewt then
- WeldTogether:Destroy()
- if grabbing and not oppr15 then
- if hasAnims then
- HeadO:Destroy()
- TorsoO:Destroy()
- LArmO:Destroy()
- RArmO:Destroy()
- LLegO:Destroy()
- RLegO:Destroy()
- HeadOS.Parent = OChar.Torso
- TorsoOS.Parent = OChar.HumanoidRootPart
- LArmOS.Parent = OChar.Torso
- RArmOS.Parent = OChar.Torso
- LLegOS.Parent = OChar.Torso
- RLegOS.Parent = OChar.Torso
- end
- OChar:FindFirstChildWhichIsA("Humanoid").PlatformStand = false
- OChar.HumanoidRootPart.Anchored = true
- Char.HumanoidRootPart.Anchored = true
- if OChar.PrimaryPart ~= nil then
- OChar:SetPrimaryPartCFrame(Char.HumanoidRootPart.CFrame + Char.HumanoidRootPart.CFrame.LookVector * 3)
- else
- if OChar:FindFirstChild("HumanoidRootPart") then
- OChar.PrimaryPart = OChar.HumanoidRootPart
- OChar:SetPrimaryPartCFrame(Char.HumanoidRootPart.CFrame + Char.HumanoidRootPart.CFrame.LookVector * 3)
- end
- end
- idle()
- wait(0.5)
- OChar.HumanoidRootPart.Anchored = false
- Char.HumanoidRootPart.Anchored = false
- grabbing = false
- else
- if grabbing and oppr15 then
- HeadO:Destroy()
- TorsoO:Destroy()
- LArmO:Destroy()
- RArmO:Destroy()
- LLegO:Destroy()
- RLegO:Destroy()
- HeadOS.Parent = OChar.Head
- TorsoOS.Parent = OChar.LowerTorso
- LArmOS.Parent = OChar.LeftUpperArm
- RArmOS.Parent = OChar.RightUpperArm
- LLegOS.Parent = OChar.LeftUpperLeg
- RLegOS.Parent = OChar.RightUpperLeg
- OChar:FindFirstChildWhichIsA("Humanoid").PlatformStand = false
- OChar.HumanoidRootPart.Anchored = true
- Char.HumanoidRootPart.Anchored = true
- WeldTogether:Destroy()
- OChar:SetPrimaryPartCFrame(Char.HumanoidRootPart.CFrame + Char.HumanoidRootPart.CFrame.LookVector * 3)
- idle()
- wait(0.5)
- OChar.HumanoidRootPart.Anchored = false
- Char.HumanoidRootPart.Anchored = false
- grabbing = false
- end
- end
- end
- end)
- function grabbed(Part)
- if ArmsOut and Part.Parent:FindFirstChildWhichIsA("Humanoid") and not grabbing and equipped then
- if not Part.Parent:FindFirstChild("LowerTorso") then
- hasAnims = false
- oppr15 = false
- OChar = Part.Parent
- if not OChar:FindFirstChild("HumanoidRootPart") then
- newRoot(OChar.Parent)
- end
- local OHRP = Part.Parent.HumanoidRootPart
- OTorso = OChar:FindFirstChild("Torso")
- OChar:FindFirstChildWhichIsA("Humanoid").RequiresNeck = false
- if OTorso:FindFirstChild("Neck") then
- HeadO = motortoweld(OTorso:WaitForChild("Neck"))
- LArmO = motortoweld(OTorso:WaitForChild("Left Shoulder"))
- RArmO = motortoweld(OTorso:WaitForChild("Right Shoulder"))
- LLegO = motortoweld(OTorso:WaitForChild("Left Hip"))
- RLegO = motortoweld(OTorso:WaitForChild("Right Hip"))
- hasAnims = true
- end
- if OChar.HumanoidRootPart:FindFirstChild("RootJoint") then
- TorsoO = motortoweld(OChar.HumanoidRootPart:WaitForChild("RootJoint"))
- hasAnims = true
- end
- if hasAnims then
- HeadO.Parent = OTorso
- TorsoO.Parent = Part.Parent:WaitForChild("HumanoidRootPart")
- LArmO.Parent = OTorso
- RArmO.Parent = OTorso
- LLegO.Parent = OTorso
- RLegO.Parent = OTorso
- HeadOS = save(OTorso:WaitForChild("Neck"))
- TorsoOS = save(Part.Parent:WaitForChild("HumanoidRootPart"):WaitForChild("RootJoint"))
- LArmOS = save(OTorso:WaitForChild("Left Shoulder"))
- RArmOS = save(OTorso:WaitForChild("Right Shoulder"))
- LLegOS = save(OTorso:WaitForChild("Left Hip"))
- RLegOS = save(OTorso:WaitForChild("Right Hip"))
- end
- WeldTogether = Instance.new("Weld")
- WeldTogether.Parent = Char
- WeldTogether.Part0 = OHRP
- WeldTogether.Part1 = HRP
- WeldTogether.Name = "Zuanzale zingel"
- grabbing = true
- HRP.Anchored = true
- Char:FindFirstChildWhichIsA("Humanoid").AutoRotate = false
- OChar:FindFirstChildWhichIsA("Humanoid").AutoRotate = false
- OChar:FindFirstChildWhichIsA("Humanoid").PlatformStand = true
- GrabStart(OChar)
- wait(1)
- HRP.Anchored = false
- OChar:WaitForChild("HumanoidRootPart").Anchored = false
- Char.Humanoid.AutoRotate = true
- OChar.Humanoid.AutoRotate = true
- OChar.Humanoid.PlatformStand = true
- else
- hasAnims = false
- oppr15 = true
- local Ochar = Part.Parent
- local OHRP = Part.Parent.HumanoidRootPart
- local OPlr = nil
- if game.Players:FindFirstChild(Part.Parent.Name) then
- OPlr = game.Players:WaitForChild(Part.Parent.Name)
- end
- if Part.Parent.PrimaryPart == nil then
- Part.Parent.PrimaryPart = Part.Parent.Head
- end
- OChar = Part.Parent
- OChar:FindFirstChildWhichIsA("Humanoid").RequiresNeck = false
- if Ochar.Head:FindFirstChild("Neck") then
- HeadO = motortoweld(Ochar.Head:WaitForChild("Neck"))
- LArmO = motortoweld(Ochar.LeftUpperArm:WaitForChild("LeftShoulder"))
- RArmO = motortoweld(Ochar.RightUpperArm:WaitForChild("RightShoulder"))
- LLegO = motortoweld(Ochar.LeftUpperLeg:WaitForChild("LeftHip"))
- RLegO = motortoweld(Ochar.RightUpperLeg:WaitForChild("RightHip"))
- hasAnims = true
- end
- if Ochar.LowerTorso:FindFirstChild("Root") then
- TorsoO = motortoweld(Ochar.LowerTorso:WaitForChild("Root"))
- hasAnims = true
- end
- if hasAnims then
- HeadO.Parent = Ochar.Head
- TorsoO.Parent = Ochar.LowerTorso
- LArmO.Parent = Ochar.LeftUpperArm
- RArmO.Parent = Ochar.RightUpperArm
- LLegO.Parent = Ochar.LeftUpperLeg
- RLegO.Parent = Ochar.RightUpperLeg
- HeadOS = save(Ochar.Head:WaitForChild("Neck"))
- TorsoOS = save(Ochar.LowerTorso:WaitForChild("Root"))
- LArmOS = save(Ochar.LeftUpperArm:WaitForChild("LeftShoulder"))
- RArmOS = save(Ochar.RightUpperArm:WaitForChild("RightShoulder"))
- LLegOS = save(Ochar.LeftUpperLeg:WaitForChild("LeftHip"))
- RLegOS = save(Ochar.RightUpperLeg:WaitForChild("RightHip"))
- end
- WeldTogether = Instance.new("Weld")
- WeldTogether.Parent = Char
- WeldTogether.Part0 = OHRP
- WeldTogether.Part1 = HRP
- WeldTogether.Name = "Zuanzale zingel"
- local parts = OChar:GetDescendants()
- for i=1, #parts do
- if parts[i].ClassName == "Part" then
- parts[i].Massless = true
- end
- end
- grabbing = true
- HRP.Anchored = true
- Char:FindFirstChildWhichIsA("Humanoid").AutoRotate = false
- OChar:FindFirstChildWhichIsA("Humanoid").AutoRotate = false
- OChar:FindFirstChildWhichIsA("Humanoid").PlatformStand = true
- GrabStartr15(OChar)
- wait(1)
- HRP.Anchored = false
- OChar:WaitForChild("HumanoidRootPart").Anchored = false
- Char.Humanoid.AutoRotate = true
- OChar.Humanoid.AutoRotate = true
- OChar.Humanoid.PlatformStand = true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment