local function b(b,V,r)local g,T=b:Dot(V),b:Cross(V)if g<-0.99999 then return CFrame.fromAxisAngle(r,math.pi)end return CFrame.new(0,0,0,T.x,T.y,T.z,1+g)end


local function getRotationBetween(u, v, axis)
	local dot, uxv = u:Dot(v), u:Cross(v)
	if (dot < -0.99999) then return CFrame.fromAxisAngle(axis, math.pi) end
	return CFrame.new(0, 0, 0, uxv.x, uxv.y, uxv.z, 1 + dot)
end
