pasteblox

Quickstart

From a script on your computer to a working loadstring in about two minutes. No account needed to start.

Publish your first script

Follow these steps in order. You only need a browser. The screenshots are the real site, the numbers on them match the list under each one.

  1. 1

    Paste your script

    Open New paste (top right on every page). Paste your Luau code into the big editor, or drop a .lua / .luau file on it.

    The New paste page: a Luau script in the editor, the title filled in from its first comment, and the Publish button
    1. 1The editor. Start with a comment line like -- auto farm. pasteblox uses it as the title.
    2. 2The title. It fills itself in from that first comment, but you can type your own.
    3. 3Publish. The shortcut is ⌘ ↵ on a Mac or Ctrl ↵ on Windows.
  2. 2

    Copy the loadstring

    After you publish, you land on your script's page. Press Copy loadstring.

    A script page with its title, the Copy loadstring button and the code below
    1. 1The loadstring for this script. It never changes, even when you update the code.
    2. 2Copy loadstring puts it on your clipboard in one click.

    A loadstring is one line of Lua that downloads your script and runs it. It looks like this:

    Loadstring
    ❯ loadstring(game:HttpGet("https://pasteblox.com/raw/k3m9x2p7qa"))()

    Paste it into your executor and run it. That's all your players need too. When you fix a bug later, you save a new version and everyone gets the fix through the same line. You never have to send a new link.

  3. 3

    Sign in to keep it

    Signed-out scripts are tied to this one browser. Clear your cookies or switch computers and you can't edit them anymore. Sign in so they're safe in an account.

    The Sign in page: email link, GitHub and Discord, and a note that one anonymous script will be added to the account
    1. 1pasteblox found the scripts you made in this browser. They move into your account when you sign in, with the same links.
    2. 2Type your email and we send you a sign-in link. There's no password to remember.
    3. 3Or use your GitHub or Discord account. One click.

    Signing in also lets you make scripts public (so they show up in Explore), make them private, and turn on a key system.

  4. 4

    Find everything in your dashboard

    Your dashboard lists every script you own, with views, runs and stars. This is where you edit, sort scripts into folders and look at stats.

    The dashboard: folders on the left, the list of scripts with their stats, and the New paste button
    1. 1Your folders. Drag scripts into them, or make subfolders (see folders).
    2. 2Your scripts. Click one to open it, or use the menu on the right of a row to edit, move or delete it.
    3. 3Make a new paste, or bring in files you already have (see uploading files).

Optional: go further

You're done. Your script is online and the loadstring works. When you're ready, these are the next steps most people take.

  1. 5

    Turn on a key system

    A key system makes players get a free key before your script runs. On the way to the key they pass a few checkpoints, like an ad link, and you earn money for every one. You turn it on with a single switch in the editor.

    The key system switch in the editor, turned on

    Read the key systems overview for the full setup with screenshots.

  2. 6

    Push from your editor

    Writing scripts in VS Code? The pbx command line tool uploads a file as a new version every time you save. You need Node.js installed.

    Terminal
    ❯ npx pasteblox login # once per computer
    ❯ pbx push src/autofarm.luau
    ✓ autofarm.luau → k3m9x2p7qa v2 · 2.1kb · 140ms

    The CLI docs explain every step.