# DuplicateMC question!

**URL:** <https://forum.kirupa.com/t/duplicatemc-question/158935>\
**Category:** flash\
**Created:** [August 12, 2005, 9:07pm UTC](https://forum.kirupa.com/t/duplicatemc-question/158935 "2005-08-12T21:07:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unchew](https://avatars.discourse-cdn.com/v4/letter/u/7ba0ec/32.png) [@unchew](https://forum.kirupa.com/u/unchew)\
**Post date:** [August 12, 2005, 9:07pm UTC](https://forum.kirupa.com/t/duplicatemc-question/158935/1 "2005-08-12T21:07:58Z")

</div>

ok, I want to make a game were coins fall from top and I need them to be duplicated. However, I can’t make a copy of it without having the original deleted. Whenever my coin reaches certain point of the movie, I want another to fall but without the first one dissappearing. Here is the code I’m using:

In the main timeline:

```auto
dupMovie = function () {
 i= i + 1;
 circle.duplicateMovieClip("circle"+i, i, {_x:Math.random()*300});
} 

```

In the coin mc inside the main mc:

```auto
 
onClipEvent(enterFrame){
 _y +=6;
 if(_root.circle, hitTest(_root.barrera)){
  _root.dupMovie();
 }
}

```

It duplicates but eliminating the one before… what’s the problem?
