Help me with this Pointshop code

Ok so i added in another skin to my pointshop and most of the skins in it work but I tried to add this one into it and it will not let me buy it


ITEM.Name = 'Cody'
ITEM.Price = 10000
ITEM.Model = 'models/Player/SGG/Starwars/clonetrooper_cody.mdl'
ITEM.AllowedUserGroups = { "vip+", "trial-moderatorvip+", "moderatorvip+", "admin", "superadmin", "head-admin", "co-owner", "owner"}

function ITEM:OnEquip(ply, modifications)
	if not ply._OldModel then
		ply._OldModel = ply:GetModel()
	end

	timer.Simple(1, function() ply:SetModel(self.Model) end)
end

function ITEM:OnHolster(ply)
	if ply._OldModel then
		ply:SetModel(ply._OldModel)
	end
end

Does it work without the user groups, Try it. also, I dont think there should be capitals anywhere in model = But dont take my word

I Just took out the user groups and it does not work still i am going to try and take the capitals of next see if that works

Is the file name, as in the .lua file for the item, capitalized at all? If so, make it all lower case.

Oh my god i had the hardest time with fixing that problem and that was what i needed to do :0 you are the best thanks a lot

Mark it as solved…