Stick a bone on the end of the hand call it "gun" or something, gunlocation = findchild "gun" and position the actual gun at the entityx(gunlocation,true), entityy(gunlocation,true), entityz(gunlocation,true) and rotated entitypitch(gunlocation,true), entityyaw(gunlocation,true) and entiyroll(gunlocation,true).
Job done.
Job done.