# Game help Please!

**URL:** <https://forum.kirupa.com/t/game-help-please/104466>\
**Category:** Uncategorized\
**Created:** [March 16, 2004, 3:00pm UTC](https://forum.kirupa.com/t/game-help-please/104466 "2004-03-16T15:00:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zak](https://avatars.discourse-cdn.com/v4/letter/z/8e7dd6/32.png) [@Zak](https://forum.kirupa.com/u/Zak)\
**Post date:** [March 16, 2004, 3:00pm UTC](https://forum.kirupa.com/t/game-help-please/104466/1 "2004-03-16T15:00:35Z")

</div>

**Ok this is the object I want to move: (instance name is bug)**

on (keyPress “\<Left\>”) {  
currentX = this.\_x;  
this.\_x = currentX - 2;  
\_root.bug.\_rotation = 270;  
}  
on (keyPress “\<Right\>”) {  
currentX = this.\_x;  
this.\_x = currentX + 2;  
\_root.bug.\_rotation = 90;  
}  
on (keypress “\<Space\>”) {  
\_root.fire = 1;  
\_root.i += 1;  
duplicateMovieClip(\_root.bullet, “bullet”+i, i);  
}

**This is the Actions for the movie clip (instance name bullet, what i want to shoot)**

onClipEvent (load) {  
this.\_visible = 0;  
if (\_root.fire == 1) {  
this.\_x = \_root.bug.\_x;  
this.\_y = \_root.bug.\_y;  
}  
}  
onClipEvent (enterFrame) {  
if (this != \_level0.bullet) {  
if (\_root.fire == 1) {  
this.\_y -= 5;  
this.\_visible = 1;  
}  
if (this.\_y\<0) {  
this.removeMovieClip();  
}  
}  
}  
onClipEvent (enterFrame) {  
if (\_root.bullet, hitTest(\_root.block)) {  
\_root.total = \_root.total + 10;  
} else {  
\_root.total = \_root.total - 0 ;  
}

**I also have a movie clip instance name is block, and i have a dynamic text are where it keeps the score, variable is total. What my questions are, why does it only allow me to shoot one bullet at a time? and also why when i move the ‘crab’ left and right it moves everything?**

\*\*Any help would be appreciated - Thanks 😃 \*\*
