Am I missing something?
local function weldBetween (a,b)
local weld = Instace.new ("ManualWeld")
weld.Main = a----Part 1
weld.Part1 = b----Part 2
weld.C0 = Cframe.new()---Determines how offset the first part should be
weld.C1 = b.Cframe:Inverse() *a.Cframe ---* moves do the cframe
weld.Parent = a
return weld;
end
weldBetween (game.Workspace.Drone.Main, game.Workspace.Drone.Part1

1 comment
Please reformat your code.