How can I fix the weld / animation from doing this bug?
https://i.gyazo.com/b5226e2b83869d98fa4382568dbd8db4.gif
01 | local SelectedPet = Owner.Parent |
03 | local LoadedAnim = Player.Character:WaitForChild( "Humanoid" ):LoadAnimation(PetCarryAnimation) |
05 | local RightHand = Player.Character:WaitForChild( "RightHand" ) |
06 | SelectedPet.HumanoidRootPart.Anchored = false |
10 | local weld = Instance.new( "Weld" , SelectedPet.HumanoidRootPart) |
11 | weld.Part 0 = SelectedPet.HumanoidRootPart |
12 | weld.Part 1 = Player.Character:WaitForChild( "HumanoidRootPart" ) |
13 | weld.C 0 = CFrame.new(- 1 , - 0.5 , 0 ) * CFrame.Angles( 0.785 , - 1.571 , 3.142 ) |