function Util.checkDist(m,C)local W,e if typeof(m)=="\086\101\099\116\111\114\051"then W=m else W=m.Position end if typeof(C)=="\086\101\099\116\111\114\051"then e=C else e=C.Position end return(W-e).Magnitude end

function Util.checkDist(a,b)
	local pointA, pointB
	
	if typeof(a) == "Vector3" then
		pointA = a
	else
		pointA = a.Position
	end
	
	if typeof(b) == "Vector3" then
		pointB = b
	else
		pointB = b.Position
	end
	
	return (pointA - pointB).Magnitude
end
