# Duplicatemovie clip problem

**URL:** <https://forum.kirupa.com/t/duplicatemovie-clip-problem/138167>\
**Category:** Uncategorized\
**Created:** [February 20, 2005, 6:37pm UTC](https://forum.kirupa.com/t/duplicatemovie-clip-problem/138167 "2005-02-20T18:37:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [February 20, 2005, 6:37pm UTC](https://forum.kirupa.com/t/duplicatemovie-clip-problem/138167/1 "2005-02-20T18:37:45Z")

</div>

I have a bunch of bullets that come from a movie clip called “bullet” and i want them all to have there own seperate variable. Heres whats in my movieclip bullet…

```auto

onClipEvent (load) {
if (this._name != "bullet") {
this._x = _root.turret._x;
this._y = _root.turret._y;
this._scale = 100;
fuel = 10;
}
}
onClipEvent (enterFrame) {
this._x += 1
this._y += 1
fuel -= 1;
if (fuel == 0) {
this.removeMovieClip;
}
}

```

the variable is called fuel and i want each bullet to have its own fuel counter.
