[Dark-RP] PlayerCanPickupWeapon Issue

So when I try to make it so certain jobs can’t equip or pickup guns from the function I found from the darkrp wiki. I apply it to the job I want not to be able to equip weapons in this case “hobo” and I restart and test it in game and it still lets me pickup weapons.

Is there a flaw in it or am I missing something please help.