function CreateWeld(f,V)local X=Instance.new("\087\101\108\100")X.Part0=f X.Part1=V X.C0=f.CFrame:inverse()*f.CFrame X.C1=V.CFrame:inverse()*f.CFrame X.Parent=f return X end
-- This function actually creates the weld.
function CreateWeld(x, y)
	local weld = Instance.new("Weld")
	weld.Part0 = x
	weld.Part1 = y
	weld.C0 = x.CFrame:inverse() * x.CFrame
	weld.C1 = y.CFrame:inverse() * x.CFrame
	weld.Parent = x
	return weld
end
