array animation

I have a robot with a ray gun by his side, I tried to parent the gun by making the gun part of the leg bone and also I tried to parent the gun to the body of the robot, but when I tried to array the robot the gun does not array with the robot only the first robot has the gun and the rest do not…help please. Am I attaching the gun wrong?

First of all, you asked your question in the wrong section. This is a question that should be posted in the other animation thread. Now back to the underlying problem. When you decide to create multiple identical copies of a model using an Array modifier, from what I can tell at this point, it only copies the model that is applied. If you have any attachments to it, it will not carry over. You will need to do two things. either you use an array modifier on the gun as well or try to use the duplivert method. If you choose the duplivert method, you need to study it under the Blender Wiki webpage.