function ScreenSpace.ScreenWidthToWorldWidth(J,H)local u=ScreenSpace.AspectRatio()local G=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local y=u*G local V=ScreenSpace.ViewSizeX()return((-(J/V)*2)*y)*H end function ScreenSpace.ScreenHeightToWorldHeight(J,H)local u=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local G=ScreenSpace.ViewSizeY()return((-(J/G)*2)*u)*H end

function ScreenSpace.ScreenWidthToWorldWidth(screenWidth, depth)	
	local aspectRatio = ScreenSpace.AspectRatio()
	local hfactor = math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)
	local wfactor = aspectRatio*hfactor
	local sx = ScreenSpace.ViewSizeX()
	--
	return -(screenWidth / sx) * 2 * wfactor * depth
end
function ScreenSpace.ScreenHeightToWorldHeight(screenHeight, depth)
	local hfactor = math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)
	local sy = ScreenSpace.ViewSizeY()
	--
	return -(screenHeight / sy) * 2 * hfactor * depth
end
