Can someone give me someone give me a brief explanation of welding, I understand it holds together non-anchored parts, I just don't understand the things like part0
1 | FirstPart = Workspace.Partname 1 -- The location of the first part |
2 | SecondPart = Workspace.Partname 2 -- The location of the second part |
3 |
4 | WeldName = Instance.new( "Weld" ) -- Create new weld with name "WeldName" |
5 | WeldName.Part 0 = FirstPart -- Selecting the first part to be welded |
6 | WeldName.Part 1 = SecondPart -- Selecting the second part to be welded |
7 | WeldName.C 0 = CFrame.new( 0 , 0 , 0 )*CFrame.Angles( 0 , 0 , 0 ) -- Selecting where the parts will be welded at |
8 | WeldName.Parent = FirstPart -- Where the actual weld will be stored |