function module.weldconstrain(M,c,Z)c.Anchored=false local N=Instance.new("\087\101\108\100\067\111\110\115\116\114\097\105\110\116")N.Parent=M N.Part0=c N.Part1=M game.Debris:AddItem(N,Z)end function module.w_weld(M,c,Z,N)local z=Instance.new("\087\101\108\100")z.Parent=c z.Part0=c z.Part1=M local C=c.CFrame local O=N or CFrame.new(0,10,0)*CFrame.Angles(0,math.rad(45),0)z.C0=C:Inverse()z.C1=O:Inverse()game.Debris:AddItem(z,Z)end return module

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
