Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function WeldBodyPartBetween(BodyPart1, BodyPart2)
- local BodyPartWeld = Instance.new("Motor6D");
- BodyPartWeld.Part0 = BodyPart1
- BodyPartWeld.Part1 = BodyPart2
- BodyPartWeld.C0 = CFrame.new()
- BodyPartWeld.C1 = BodyPart2.CFrame:inverse()*BodyPart1.CFrame
- BodyPartWeld.Parent = BodyPart1
- return BodyPartWeld;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement