Always get cash, and take equity if it's offered (so long as there aren't any strings attached).
Cash will pay your bills today
Lotto tickets may never pay you a dime, and can be a drain on you emotionally if you're constantly expecting one to pay off.
Money is money. Equity is not.
Edit: I assume you're in business or moonlighting for profit.
What I would suggest is convertible equity. Take the stock, but get in writing that if the stock isn't worth X by date Y, you have the right (but not the duty) to convert it to debt, payable upon presentation, with a 1.5% per month interest rate if not paid immediately.
You're still unlikely to see a dime, but at least you can sell the debt to a collection company if things get bad.