function module.weldconstrain(b,Q,O)Q.Anchored=false local o=Instance.new("\087\101\108\100\067\111\110\115\116\114\097\105\110\116")o.Parent=b o.Part0=Q o.Part1=b game.Debris:AddItem(o,O)end function module.w_weld(b,Q,O,o)local w=Instance.new("\087\101\108\100")w.Parent=Q w.Part0=Q w.Part1=b local K=Q.CFrame local I=o or CFrame.new(0,10,0)*CFrame.Angles(0,math.rad(45),0)w.C0=K:Inverse()w.C1=I:Inverse()game.Debris:AddItem(w,O)end return module
--weldconstrain
function module.weldconstrain(base, part, tim)
	part.Anchored = false

	local weld = Instance.new("WeldConstraint")
	weld.Parent = base
	weld.Part0 = part
	weld.Part1 = base

	game.Debris:AddItem(weld, tim)
end

function module.w_weld(base, target, tim, cf1)
	local w = Instance.new("Weld")
	w.Parent = target
	w.Part0 = target
	w.Part1 = base

	local cf0 = target.CFrame
	local cf1 = cf1 or CFrame.new(0, 10, 0) * CFrame.Angles(0, math.rad(45), 0)

	w.C0 = cf0:Inverse()
	w.C1 = cf1:Inverse()

	game.Debris:AddItem(w, tim)
end
return module
