# Speed score

**URL:** <https://forum.kirupa.com/t/speed-score/310019>\
**Category:** Uncategorized\
**Created:** [May 30, 2010, 2:07pm UTC](https://forum.kirupa.com/t/speed-score/310019 "2010-05-30T14:07:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiitttaaa](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iiitttaaa](https://forum.kirupa.com/u/iiitttaaa)\
**Post date:** [May 30, 2010, 2:07pm UTC](https://forum.kirupa.com/t/speed-score/310019/1 "2010-05-30T14:07:16Z")

</div>

hey i have a game that counts time but i need when it finishes i get more coins if i am faster than if i am slow cause i am doing this

i use this for the counter  
\_root.totalTimeTXT = minutesTXT + “.” + secondsTXT + “.” + tensTXT;

and this one for coins  
\_root.totalTimeTXTcoins = minutesTXT + secondsTXT;

example :

i made 1:18:28 as time 1 min 18 seconds and in score i delete miliseconds but i get this coins 118 and if i make 10 mins and 59 seconds i get 1059 how do i fix this?
