# Power-Up's & Timers HELP

**URL:** https://forum.kirupa.com/t/power-ups-timers-help/229790
**Category:** programming
**Created:** [June 20, 2007, 8:18am UTC](https://forum.kirupa.com/t/power-ups-timers-help/229790 "2007-06-20T08:18:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![D\_955\_1A\_325](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@D\_955\_1A\_325](https://forum.kirupa.com/u/D_955_1A_325)
#### Post date: [June 20, 2007, 8:18am UTC](https://forum.kirupa.com/t/power-ups-timers-help/229790/1 "2007-06-20T08:18:45Z")

</div>

Hey lads i just wanted to know if anyone could help me out,  
I’m trying to make it so that when a character hittests a powerupMC  
a effect happens such as frame rate speed up but only for a certain time  
such as until a timer runs out.  
[COLOR=RoyalBlue]onClipEvent (enterFrame) {  
if (this.hitTest(\_root.character)) {  
\_root.score.text++;  
unloadMovie(this);  
}  
}  
[/COLOR][COLOR=Black]I got this working i just need some help with the scripting for speeding up the character  
and making a timer to count down how long the effect lasts.  
any help would be appreciated.  
Cheers!!:rd:  
[/COLOR]
