I don't even know how I managed this but my model compiles into 2d

I tried to de-crotchgun-ify a sexy weapon model but somehow I ended up with that epic fail, can anyone help?

QC:



$cd "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\addons\spaceweapons\models\weapons"
$modelname "weapons/w_machgun.mdl"
$model "studio" "w_heavymachgun.smd"

$cdmaterials "models\weapons\w_pistol\"
$hboxset "default"
$hbox 0 "ValveBiped.Bip01_R_Hand" 0.000  -1.500  -5.000  5.000  0.000  0.000
$hbox 0 "ValveBiped.Weapon_bone" -4.334  -1.435  -0.164  6.194  0.696  7.060
$attachment "muzzle" "ValveBiped.Weapon_bone" 6.31 -0.68 0.42 rotate 4.49 -1.17 -98.82
$attachment "1" "ValveBiped.Weapon_bone" 1.06 0.18 0.72 rotate 8.79 89.53 -85.45
$surfaceprop "weapon"
$illumposition -0.013 0.491 -1.996
$sequence idle "idle" loop ACT_VM_IDLE 1 fps 30.00
$sequence attack_player "attack_player" ACT_HL2MP_RANGE_ATTACK_PISTOL 1 fps 30.00 {
  { event 5003 1 "1" }
  { event 5003 3 "3" }
}

$sequence attack_npc "attack_npc" ACT_RANGE_ATTACK_PISTOL 1 fps 30.00 {
  { event 3014 1 }
  { event AE_NPC_MUZZLEFLASH 0 "PISTOL MUZZLE" }
  { event 6001 0 "0" }
}