Crotch Weapon Help!

I’ve been trying to make a SWEP, and I followed a tutorial on how to fix crotch guns, and I wasted an hour to figure out it didn’t work for me! Can someone please fix the crotch problem for me? Here is my QC code

$cd "C:\Users\User\Desktop\hl2weapon"
$modelname "weapons/rifles/w_mdl/w_sr_m14.mdl"
$model "studio" "W_IRifle_reference.smd"
$cdmaterials "models\weapons\m14\"
$hboxset "default"
$hbox 0 "m14" -30.778  -6.118  -1.892  13.110  3.370  1.368
$hbox 0 "bolt" -4.695  -0.314  -0.022  2.734  0.829  1.365
// Model uses material "w_m14.vmt"
$attachment "muzzle" "muzzle" 0.00 -0.00 -0.00 rotate -0.00 0.00 90.00
$attachment "eject" "eject" 0.00 -0.00 0.00 rotate 0.00 0.00 0.00

$surfaceprop "weapon"
$illumposition 5.634 0.313 7.626
$sequence idle "idle" fps 30.00
$collisionmodel "phymodel.smd" {

	$mass 70.0
	$inertia 10.00
	$damping 0.01
	$rotdamping 1.50
	$animatedfriction 1.000 400.000 0.500 0.300 0.000

Any help would be appreciated! PM me if you can help. After you PM me, I will supply you with a link for the model I need fixed.

Is the weapon rigged to the hand bone.

Sorry but I have no clue how to do that, it said it was possible to do it with a prop, and I used a rifle prop I found, and the tut doesn’t state how to rig it to a bone, only how to fix css bones.

Can you tell me how you got the $hbox part?

i MAY see where i f***ed up, i used the whole qc from the original model instead of just the model paths… im gonna try to see if that fixes it

OK, I recently tried another model, and the bones and stuff rigged right BUT now in gmod when i spawn the world model, the physbox is there and stuff but it’s invisible? Any idea how to fix?

to get a hitbox set up you need to write it up yourself as far as i know