Welder Script
public lua v1 · immutablefunction glue(x, y) weld = Instance.new("Weld") weld.Part0 = x weld.Part1 = y local HitPos = x.Position local CJ = CFrame.new(HitPos) local C0 = x.CFrame:inverse() *CJ local C1 = y.CFrame:inverse() * CJ weld.C0 = C0 weld.C1 = C1 weld.Parent = x end local core = script.Parentlocal parts = script.Parent.Parent:FindFirstChild(core.Name):GetChildren()for i=1,#parts do glue(parts[i], core)endprint("Welding done")script.Parent = nil