How to make Object move like Cartridge

I have just made a simple example FPS.Now please tell me this thing.
I have already instantiate cartridge but i don’t know how can i make it move follow dimension of Gun. Thanks

Ok. Thanks you. i will check it. :))