World Model to View Model

Hi, I’v got a weapon with the shared lua to go, the world model works as I tested but I need a view model. Could anybody give me a tutorial on how to turn the world model into a view model? Thanks in advance, to the helping people!