I did a custom weapons script years ago. I seen some people are using UDK so I thought I'd share a couple videos Ambient Fish Script FPS