function ScreenSpace.WorldWidthToScreenWidth(N,k)local z=ScreenSpace.AspectRatio()local L=math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)local l=z*L local K=ScreenSpace.ViewSizeX()return-(N*K)/((2*l)*k)end function ScreenSpace.WorldHeightToScreenHeight(N,k)local z=math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)local L=ScreenSpace.ViewSizeY()return-(N*L)/((2*z)*k)end

function ScreenSpace.WorldWidthToScreenWidth(worldWidth, depth)
	local aspectRatio = ScreenSpace.AspectRatio()
	local hfactor = math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)
	local wfactor = aspectRatio*hfactor
	local sx = ScreenSpace.ViewSizeX()
	--
	return -(worldWidth * sx) / (2 * wfactor * depth)
end
function ScreenSpace.WorldHeightToScreenHeight(worldHeight, depth)
	local hfactor = math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)
	local sy = ScreenSpace.ViewSizeY()
	--
	return -(worldHeight * sy) / (2 * hfactor * depth)
end
