I have Two Problems, if you could help me out I will be grateful.

I have two problems and yes… this is underdone, me and my buddies are thinking of bringing it back.

Problem One
\gamemode\core\clientfiles\cl_hud.lua:128] attempt to index local ‘tblItemTable’ (a nil value)(Hook: HUDPaint)
Problem 1Lua Pastebin Code
This happens whenever I modify/edit
sh_items_comsumable.lua
sh_items_general.lua
sh_items_weapon_range.lua

Problem Two
\gamemode\core\sharedfiles\sh_library.lua:7] attempt to index a nil value(Hook: PlayerAuthed)
Problem 2 Lua Pastebin Code
This happens whenever I modify/edit the sh_items_books.lua

I would be grateful if anyone could fix the problem, you would also be helpful if you could put the repaired lua code in a pastebin and reply with a link, Thank You!