Making a viewmodel

So hi again, I’ve made a weapon melee, and I was wondering how I can make it into a viewmodel/working swep with the crowbar pose.

Here’s how to make it a view model:

But to make it a swep you have to know lua

I’ve got some template files and I know a fair bit of lua, enough to make a basic melee. I’ll try what you’ve sent now.
I’ll update this post if I need help