This has absolutely nothing to do with lua.
You need to use your server web control panel or FTP app to grab debugdump.txt from your server's garrysmod/data/ulx folder, and then use the "attachments and other options" forum menu to attach the file to your next post.