Formal:
* Powodzenia i do widzenia! (pow-oh-dze-nya ee doh vee-dze-nya) - This is the most common and formal way to say it.
Informal:
* Szczęścia i na razie! (shchen-shcha ee nah ra-zee) - This is a more casual way to say it.
You could also use a combination of "good luck" and "goodbye" phrases:
* Powodzenia! Do widzenia! (pow-oh-dze-nya! doh vee-dze-nya!)
* Szczęścia! Na razie! (shchen-shcha! nah ra-zee!)
Remember that the choice of phrase depends on the context and your relationship with the person.