Give weapons to props through pointshop

I wanted to try something new with prop hunt where props can get weapons as well.

[lua]
ITEM.Name = ‘Ar33’
ITEM.Price = 5000
ITEM.Model = ‘models/weapons/ar33/w_ar33.mdl’
ITEM.WeaponClass = ‘weapon_w_rif_ak47’
ITEM.SingleUse = true

function ITEM:OnBuy(ply)
if ply:Alive() and ply:Team() == TEAM_PROPS then
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end
end

function ITEM:OnSell(ply)
ply:StripWeapon(self.WeaponClass)
end
[/lua]

I cant seem to get it to work. Could someone help me out with this?

ITEM.WeaponClass should be the file name of the weapon. If you don’t know it go into sandbox, hit the weapons tab and right click on the gun and copy it’s name