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

[ANSWERED] Welding worked, but the part is now inside of the target?

Asked by 6 years ago
Edited 6 years ago
  • UPDATED

Hey so I got the weld to appear in the Player when testing using this bit of code

local torsoweld = Instance.new("Weld")
torsoweld.Parent = player.Torso
torsoweld.Part0 = torsoweld.Parent
torsoweld.Part1 = torsoweld.Parent.Parent.HumanoidRootPart

I did that same thing with the left arm/wing of the Chicken and it worked, but now the arm is inside of the torso because it is welded to the middle (is what I am assuming). I need to move the arm back to its original position, which is right next to the torso. Please help!

0
You are going to want to change the welds C0. A welds C0 is like the offset, if you are using the R6, you will likely want to set the weld,C0 to something like this. weld.C0 = CFrame.new(-1,1,-1.5), just play around with the numbers a bit till you get it to where you want. In order to apply a rotation, multiply that CFrame by a CFrame.Angle(). Stephenthefox 94 — 6y
0
Dude thank you so much! I'd upvote you for that but I don't have 25 reputation yet. Thank you so much for the fast reply! Festive_Boyo 7 — 6y

Answer this question