This is Antilag, a lag prevention routine and detection script. Depending on an interval you set, optimally 5 to 10 minutes, this script simply freezes all props, clears decals and stops sounds and notifies all users. Clearing decals and stopping sounds is configurable.
I’m releasing this super tiny project I made with a friend for use and expansion by anyone who’s interested in gmod lua and doesn’t know where to start. We created this for some server owners and also to get into glua, but I felt like it would also serve as a good tutorial of sorts for someone who knows a bit of computer science but wants to try glua. (Includes new networking library, hooks, etc.)