score:5
The short answer is as much money as you have. Amounts over $10,000 in cash or other negotiable instruments (e.g., checks) must be declared to the Border officials on arrival. (This is equally true of USA citizens.) The limit is for the family, not per person. If you are transiting in Canada, they have a similar rule. You will need a transit visa, and you must declare amounts over $(CDN)10,000, also per family.
As @Nate-Eldredge points out, a B-2 visa is not for immigration. Arriving with very large amounts of cash will make the border guards even more suspicious of your intentions, above the existing difficulties for Libyan nationals.
Carrying large amounts of cash is an invitation to disaster, through theft or even accidental loss. I urge you to bring a reasonable amount for your trip but to arrange some sort of bank transfer if you intend to move large sums to the USA, whether temporarily or permanently.