What should I pay attention when modelling a gun that are going to be animated

I model guns and most of the time they are not for Roblox game, and I want to create a gun that is suitable for Roblox fps game

I have made one that can be used however there is some part I need to separate so it can be animated

leave a comment if you know things about animating gun or have modelled a gun for an fps before