how to get a other parts in script in roblox code example
Example: roblox how to weld parts together using script
local weld = Instance.new('weld')
weld.Part0 = --Insert the part you want the other part to be welded to
weld.part1 = --Insert the part you want to weld to the other part