How to make the not connected always connected to the arm (fe gun kit)

I was trying to make a bolt action animation but when I test it, the gun always stick to the right arm
this is what it looked like: I need help at fe gun kit animation and fixing the bug - YouTube