What you could do is this...
1. When you click the shoot button record the camera's position into 3 variables (origx,origy,origz) and then position the camera at the tip of the gun and rotate the camera so it's pointing the same way as the gun.
2. Then save the camera's x,y,z position into 3 new variables (oldx,oldy,oldz)
3. Then move the camera forward how ever far you want the bullet to go.
4. Then record the camera's position into 3 even newer variables (x,y,z)
5. Use Sparky Collision's SC_RayCastGroup command to check if it hit an enemy (assuming you set the enemies up into a specific group and then checked against that group) If you did hit an enemy take away damage.
6. Reposition camera back to the original x,y,z variables.
(the oldx,oldy,oldz and x,y,z variables are used in the SC_RayCastGroup command)
Even though this is more code I like using this method better because then I don't have to make another object like the above method. I'll assist you in coding it if you give this an honest try first.
Use Google first... it's not rocket surgery!