Game action scipt Problem Help?

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? I have the file attached below…**

Any help would be appreciated - Thanks :smiley: