deathrun pointshop weapon wont work?

First off this is my code

ITEM.Name = 'Wizz Swordd' // change this to whatever name you want
ITEM.Price = 3500 // change this to whatever price you want
ITEM.Model = 'models/weapons/w_irifle.mdl' // change this to what shop 'icon' you want
ITEM.WeaponClass = 'weapon_zm_swordl' //change this to name for item you want to replace the crowbar with
ITEM.SingleUse = false // makes it persist every time. This does sometimes bug out, a good suggestion would be to add more weapons before this weapon that work similar, may give a workaround to your issue.

function ITEM:OnBuy(ply)

function ITEM:OnSell(ply)

It works on first buy then just never spawns back? even if you holster then re equip. It only works when you sell it and rebuy it agian, any ideas why?

That’s because you put it in the OnBuy. It should be in the OnEquip.