delay for result screen dialog

tried to do this, last parameter and winnings variable errors , should
wait 5 seconds before displaying win/lose dialog