Scripting Helpers is winding down operations and is now read-only. More info→
Log in to vote

How can I fix the weld / animation from doing this bug?

Asked by 4 years ago

local SelectedPet = Owner.Parent

local LoadedAnim = Player.Character:WaitForChild("Humanoid"):LoadAnimation(PetCarryAnimation)

local RightHand = Player.Character:WaitForChild("RightHand") 
SelectedPet.HumanoidRootPart.Anchored = false


local weld ="Weld", SelectedPet.HumanoidRootPart)
weld.Part0 = SelectedPet.HumanoidRootPart
weld.Part1 = Player.Character:WaitForChild("HumanoidRootPart")
weld.C0 =, -0.5, 0) * CFrame.Angles(0.785, -1.571, 3.142) 
Can you post your whole script? Also look up how to create welds. You could also use WeldConstraints so that you don't have to deal with the C0 C1 properties Twinbrotato 543 — 4y

Answer this question