while you still can
Feiere, solange du noch kannst.
Celebrate while you still can.
— Roma (2018)
Solange du noch kannst.
While you still can.
— Harry Potter und der Feuerkelch (2005)
Tu es, solange du noch kannst!
Do it while you still can!
Ich riete dir, hier zu verschwinden, solange du noch kannst!
I'd advise you to get out of here while you still can!