Thought I'd give people the bind I use for my laws/show how to make a convenient law bind for them, just replace the text in the bind to easily change them as you wish.
Essentially it uses aliases to run a command, then rebind that key to a different command, which then repeats until it cycles through completely.
To use it, I would advise pasting it into your autoexec.cfg file, as it means it won't vanish randomly like some Gmod binds does, and also means you can paste the entire thing instead of doing it line by line.
The autexec.cfg file is found in your gmod folder - for me this is located here (D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\cfg)
https://gyazo.com/2e04342aea39352cc46149562a6c2425
It's fairly self explanatory, but I'll explain it briefly.
mayor 1 - resets the laws so you can start fresh
mayor 2 - adds the first law, outlawing all weapons, raiding tools, and mining tools - Nobody enforces the mining tools thing but it's funny
mayor 3 - fairly obvious, stops those pesky trespassers
mayor 4 - again, obvious, gets rid of hits and threats
mayor 5 - miscellaneous illegal behaviour, throwing things refers to bugbaits and snowballs
mayor 6 - stops people insulting you or not doing as you say
mayor 7 - outlaws gunshops, because... why not
mayor 8 - gets rid of the non default illegal entities (technically moonshine is always illegal, alcohol is a drug)
mayor 9 - stops those annoying situations where people say they have a licence to sell guns etc
mayor 10 - catchall thing that makes it look nicer than putting AOS -> KOS on every single line
mayor 11 - starts a lottery for 25000 (if you don't have the skill, change it to 5000 otherwise it won't work) - and then resets the loop back to mayor 1
to change the key to whatever you want, just replace KP_UPARROW with whatever key you want that is more convenient for you
To use:
if you haven't restarted your game since adding these to your autoexec.cfg file, go into console and type "exec autoexec" and then press enter.
Once you know these have been added, simply press numpad8 (or whatever key you change it to) 11 times, with at least 2 seconds between each press - less than this and you'll be rate limited and it won't apply the law, but will still move to the next alias, so you'll have to repeat the cycle.
Enjoy