lampman, every error you've ever posted gives you the reason, and line number, for where/why the error is happening.
While learning Lua for Gmod, you should also learn how to read the error messages.
We're also going far past 'help for ULib and ulx', and into 'how do I ... <any code question you can think of with only 1% related to Ulib or ULX>?', so I'm moving this thread to developers corner.