# Count up too slow

**URL:** https://forum.kirupa.com/t/count-up-too-slow/234219
**Category:** Uncategorized
**Created:** [July 31, 2007, 2:28pm UTC](https://forum.kirupa.com/t/count-up-too-slow/234219 "2007-07-31T14:28:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bellah5](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bellah5](https://forum.kirupa.com/u/bellah5)
#### Post date: [July 31, 2007, 2:28pm UTC](https://forum.kirupa.com/t/count-up-too-slow/234219/1 "2007-07-31T14:28:09Z")

</div>

Hey all,

I’m using this script to have a lottery jackpot countup.

```auto

counter = numberCounter.text = 0;
updateCounter = function () {
        counter++;
        numberCounter.text = counter;
}
setInterval(updateCounter,1);

```

It’s going to go up to about 65,000,000 (possibly 120,000,000 max) before the movie will end. I need it to count up in about 10 seconds. Adjusting the frame rate, I can’t go past 24fps since I’m animating other things at the same time. Is there a way to increase faster? or at least have it appear as though it’s counting faster?

Thanks for any help!
