Hud Script Error

So i made a hud for my rp server and i get this annoying error plus i see the Sandbox hud over the top :confused:

 [ERROR] addons/darkrpmodification-master/lua/darkrp_modules/hudreplacement/cl_hudreplacement.lua:164: attempt to perform arithmetic on upvalue 'RelativeX' (a nil value)
  1. GunLicense - addons/darkrpmodification-master/lua/darkrp_modules/hudreplacement/cl_hudreplacement.lua:164
   2. fn - addons/darkrpmodification-master/lua/darkrp_modules/hudreplacement/cl_hudreplacement.lua:386
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Thank you for all the help :smiley:

Posting the code would help???

Its fixed WTF XD I just joined and theirs no lua errors or anything… Im so confused