Hello, I’m currently trying to modify an ODM gear so it can hold the blades inside the holsters and put them out pressing R, the system works fine but the welding is weird, the welded parts somehow rotate.
ODM Welding:
https://gyazo.com/12cce596442e74c28ae7bd5d3e416a6e
https://gyazo.com/f26cb6d11610f1f21c43a8448071202d
ODM Blade Positioners:
https://gyazo.com/a7f43dae607d79ea723694a46c8db815
ODM Blades after being attached to positioners:
https://gyazo.com/7ec9ad7670e207583c6992d089dc786a
(the selected blue parts are the positioners)
Welding Code:
local right_hand_motor6d = Instance.new("Motor6D")
right_hand_motor6d.Part0 = character.RightHand
right_hand_motor6d.Part1 = character.Gear.Swords.RightTrigger.Handle
right_hand_motor6d.C1 = right_hand_motor6d.C1 * CFrame.Angles(0, math.rad(180), 0)
right_hand_motor6d.Name = "Handle"
right_hand_motor6d.Enabled = false
right_hand_motor6d.Parent = character.RightHand
local left_hand_motor6d = Instance.new("Motor6D")
left_hand_motor6d.Part0 = character.LeftHand
left_hand_motor6d.Part1 = character.Gear.Swords.LeftTrigger.Handle
left_hand_motor6d.C1 = left_hand_motor6d.C1 * CFrame.Angles(0, math.rad(180), 0)
left_hand_motor6d.Name = "Handle"
left_hand_motor6d.Enabled = false
left_hand_motor6d.Parent = character.LeftHand
character.Gear.Swords.RightBlade.CFrame = character.Gear.Frame.Right3DMG.Holster.RightBlade.CFrame
local relaxed_right_motor6d = Instance.new("Motor6D")
relaxed_right_motor6d.Part0 = character.Gear.Frame.Right3DMG.Holster.RightBlade
relaxed_right_motor6d.Part1 = character.Gear.Swords.RightBlade
relaxed_right_motor6d.C1 = relaxed_right_motor6d.Part0.CFrame:inverse() * relaxed_right_motor6d.Part1.CFrame
relaxed_right_motor6d.Name = "HandleRelaxed"
relaxed_right_motor6d.Parent = character.RightHand
character.Gear.Swords.LeftBlade.CFrame = character.Gear.Frame.Left3DMG.Holster.LeftBlade.CFrame
local relaxed_left_motor6d = Instance.new("Motor6D")
relaxed_left_motor6d.Part0 = character.Gear.Frame.Left3DMG.Holster.LeftBlade
relaxed_left_motor6d.Part1 = character.Gear.Swords.LeftBlade
relaxed_left_motor6d.C1 = relaxed_left_motor6d.Part0.CFrame:inverse() * relaxed_left_motor6d.Part1.CFrame
relaxed_left_motor6d.Name = "HandleRelaxed"
relaxed_left_motor6d.Parent = character.LeftHand