The usual route is through free models. Scripts of this kind are commonly packaged inside models published in the library, which you can search for and add to your place.
Two cautions are worth taking seriously. First, an admin script grants broad control over a game, so inserting one you do not understand is a bad idea — free models are a well-known vector for malicious code. Open it and read what it actually does before it runs. Second, these scripts only function in games you are building yourself; they do nothing in someone else's place.