So I have my parts inside the tool, and named one engine (and another handle) but every time you take it out it works but once you un-equip and re-equip it breaks apart. Any help? Here is my script:
function Weld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
local CJ = CFrame.new(x.Position)
local C0 = x.CFrame:inverse()*CJ
local C1 = y.CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = x
end
function Get(A)
if (A.className == "Part") or (A.className == "Seat") then
Weld(script.Parent.Engine, A)
else
local C = A:GetChildren()
for i=1, #C do
Get(C[i])
end
end
end
function Finale()
Get(script.Parent)
end
Finale()
