This is the easiest method and works on any server, regardless of server-side restrictions.
Open console ( ~ key) or create a file: garrysmod/lua/autorun/autoclicker.lua gmod auto clicker
Use a key that isn't bound in GMOD. F6 or F8 are usually safe bets. This is the easiest method and works on