# Problem with playing duplicated MC

**URL:** <https://forum.kirupa.com/t/problem-with-playing-duplicated-mc/257060>\
**Category:** flash\
**Created:** [April 9, 2008, 9:05pm UTC](https://forum.kirupa.com/t/problem-with-playing-duplicated-mc/257060 "2008-04-09T21:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Areczek289](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Areczek289](https://forum.kirupa.com/u/Areczek289)\
**Post date:** [April 9, 2008, 9:05pm UTC](https://forum.kirupa.com/t/problem-with-playing-duplicated-mc/257060/1 "2008-04-09T21:05:18Z")

</div>

Hello 🙂  
I’ve a problem with my “bud” MC.

```auto
onClipEvent(load){
    punkt=true;
    var int1 = 2 
this._x = Math.random()*300;
this._y = Math.random()*300;
}
onClipEvent(enterFrame){
if(this.hitTest(_root.hero)&&punkt==true){
punkt=false;
_root.totalmoney.text++;
play();
duplicateMovieClip(this,"bud"+int1,(1000+int1)) ;
int1++
}
}

```

This is written in bud’s actions. When hero hittests bud it duplicates but only the first bud plays when touched and I’ve tried unloading it by:  
unloadmovie(“bud”+int1)  
unloadmovie(“bud+int1”)  
but it doesn’t work ☹  
what’s funny, the first bud plays and stays and the duplicated buds unload themselves when touched :!:
