Need Help With Pointshop Weapon Models

Hello, I need help with making a lua file for pointshop which when bought will change the model of a specific weapon model. For example, it could be a golden crowbar, so it replaces the default model with the golden crowbar model. I can provide more information since I am probably not descriptive enough. Thanks in advance. Clarification: I am refering to the pointshop by _Undefined