My welds are making the parts have offsets from the original build. What causes this? does moving the parts have anything to do with it? Although i have it weld then unanchor after the weld so I dont see why the positions of the parts are slightly off after the welds.
Line up the parts prior to welding them, when welding use a "WeldConstraint" which can be found by clicking the "+" icon by an item in the explorer.
local model = script.Parent local function modelWeld(model,mainpart) for _,v in pairs (model:GetDescendants())do if v:IsA("BasePart") then local weld = Instance.new("WeldConstraint") weld.Parent = mainpart weld.Part0 = mainpart weld.Part1 = v end end end modelWeld(model,model.Grass2)
this happens within serverstorage before the model is copied. after it is copied it is unanchored but has parts that are in positions that weren't in the original