Actually, all you need is just a digits object like this in a panel:
digits = 0, 0, 5.1, your_font_name, 16, time_fac;
Look up in the manual for the exact digits format. Leave the last two alone. The first four can be changed as needed.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials