pasteblox

Scripts & versions

Loadstrings, visibility, custom URLs, versions, pinned @n links, forks and stars.

Every script on pasteblox gets its own page, a raw link and a loadstring. You can update the code as often as you like. The loadstring never changes, so players always run your newest version.

A script in 30 seconds

Each script has three addresses. All three use the same slug:

WhatLooks likeFor
Script pagepasteblox.com/s/k3m9x2p7qaPeople. Shows the code, versions and the copy button.
Raw linkpasteblox.com/raw/k3m9x2p7qaExecutors. Plain text, always the newest version.
Loadstringloadstring(game:HttpGet("https://pasteblox.com/raw/k3m9x2p7qa"))()What players paste into their executor.

The slug is 10 random letters and numbers. It's picked for you and never changes, not even when you rename the script.

Want a raw link people can read? Give the script a custom URL, like pasteblox.com/raw/yourname/main.lua. The slug link keeps working next to it.

Make a script

  1. 1

    Open the editor

    Click New paste in the header, or go to pasteblox.com/new. Paste your code in the big box. Got a file? See uploading files.

  2. 2

    Fill in the details

    The New paste editor: code on the left, title, visibility, language, game, tags and folder on the right, Publish at the bottom
    1. 1Your code. The line counter shows the size, up to 512kb.
    2. 2Title. Leave it empty and the first -- comment in your code becomes the title.
    3. 3Visibility: Unlisted, Public or Private. See who can see it.
    4. 4Language, Game, Tags and Folder. All optional.
    5. 5Publish. Or press ⌘↵/Ctrl+Enter from anywhere on the page.
  3. 3

    Share the loadstring

    When you publish, the loadstring is copied for you and you land on the script page. Paste it into your executor, your Discord or your video description.

The fields

FieldRules
TitleUp to 100 characters.
DescriptionOptional, up to 2000 characters.
Language.luau (the default) or .lua. Only changes the file name and highlighting.
GameOptional. The game it's for, as plain text, like “Blox Fruits”. Up to 64 characters. Not a place ID.
TagsUp to 8. Each is 1–24 characters: a–z, 0–9 and dashes. Press Enter, space or a comma to add one.
FolderOnly you see it. See folders & subfolders.
Custom URLOptional, signed in only. A name like main.lua that gives the script a second raw link under your handle. See custom URLs.
Key systemPlayers need a key to run it. See key systems.

Who can see it

Pick one of three. You can change it any time from the ⋯ menu on the script page, and the links stay the same.

UnlistedPublicPrivate
Script pageAnyone with the linkAnyoneOnly you
Raw link / loadstringWorksWorks404 for everyone
Explore, search, your profile, public foldersNoYes, once the risk scan clears itNo
  • Unlisted is the default. Good for most scripts: share the link, and it stays off Explore.
  • Public puts it on Explore. Every new version is checked by the risk scan first, which usually takes a few seconds.
  • Private is for drafts and personal tools. The raw link returns 404 even for you, so a private script can't be run with a loadstring.

Pasting without an account

You don't need an account to paste. A signed-out paste is always Unlisted, and only the browser you used can edit it.

To keep it, claim it. On the script page you'll see This one's yours. Claim it?. Sign in with GitHub, Discord or email and it moves to your account. The link doesn't change.

The script page

The top of a script page, signed out: title, Copy loadstring, Star, Copy and the more actions menu
  1. 1Copy loadstring. If the risk scan has concerns, it reads Copy anyway and doesn't glow.
  2. 2Star saves it to your stars and tells the author. Signed in, Fork makes your own copy. Signed out, as here, it reads Copy (see copy).
  3. 3The ⋯ menu: Open raw, Download as .luau or .txt, and Report. On your own script it has Edit / push, Visibility and Delete… instead of report.

On your own script you won't see star, fork or Report. You get Edit and Key system instead. A report is about the version you're looking at, so reporting ?v=2 names v2.

Deleting a script

Delete… in the ⋯ menu asks first: Delete “your title”?. Confirm with Delete script and the page and raw link stop working at once, so every loadstring for it breaks. A toast with Undo stays for a few seconds. After that you still have 30 days: run pbx restore <slug> with the CLI to bring it back. Then it's gone for good. Pasted signed out? The same browser can delete it and undo it.

Versions

Every time you save new code, pasteblox keeps the old one and adds a new version: v1, v2, v3… The raw link always serves the newest one. Your loadstring never needs to change.

  1. 1

    Open the editor

    On your script page, click Edit. Or pick Edit / push v4 from the ⋯ menu (the number is the next version).

  2. 2

    Change the code and say what's new

    As soon as the code changes, a What's new in v4 box shows up under it. Write one line, like fixed the busy lock. It shows on the script page. It's optional, but players love it.

  3. 3

    Push

    The button reads Push v4. If you only changed the title or tags, it reads Save changes and no new version is made. Saving the exact same code also makes no new version.

Looking at old versions

An old version of your own script: the version picker, the banner with Copy pinned loadstring and Restore this version, and the versions list
  1. 1The version picker. v2 of 4 means you're looking at an old one.
  2. 2Copy pinned loadstring copies a loadstring that always runs this exact version.
  3. 3Versions. The glowing square marks the Live one, the one the raw link serves.
  4. 4Restore this version, on your own script only. See going back to an old version.

The page loads the newest 20 versions. For older ones, use pbx log in the CLI.

Pinned links (@n)

A pinned link always serves one version, even after you push new ones. Add @ and the version number to the raw link:

LinkServes
/raw/k3m9x2p7qaThe newest version
/raw/k3m9x2p7qa@3Always v3
/raw/k3m9x2p7qa/3Also v3. @v3 and /v3 work too.
  • Use a pinned link when you need a version that never changes, like a library other scripts load.
  • There's no @latest. The plain link already is the latest.
  • A version that doesn't exist gives a clear error in the executor console, like [pasteblox] version 9 does not exist (latest is 4).
  • Scripts with a key system are different: every link, pinned or not, runs the key screen first.

Custom URLs

The slug link works, but /raw/k3m9x2p7qa doesn't tell anyone what it is. Give the script a name and it gets a second raw link under your handle:

LinkServes
pasteblox.com/raw/k3m9x2p7qaThe newest version. Works forever, name or not.
pasteblox.com/raw/novahub/main.luaThe same bytes, under your handle and the name you picked.
pasteblox.com/raw/novahub/bedwars/esp.luaNames can have parts, like folders. Handy with main.lua in every game.

Once a script has a name, the script page, the dashboard and your public folders copy the loadstring with the named link. The slug link never stops working, so loadstrings you already shared keep running.

Pick a name

  1. 1

    Open the editor

    On pasteblox.com/new, or Edit on your script page. Custom URLs need an account: a signed-out paste has no handle to live under, so claim it first.

  2. 2

    Type a name in Custom URL

    The field starts with /raw/yourname/. Type the rest, like main.lua. It tells you right away if the name works, if it's taken, or what happens when you save.

  3. 3

    Publish or save

    The named link works the moment you save. Leave the field empty to go without one.

RuleDetails
Charactersa–z, 0–9, dots, dashes and underscores. Capitals become lowercase, so Main.lua is main.lua, and links work in any case.
PartsUp to 4, split by /. Each part is 1–64 characters and starts and ends with a letter or a digit.
LengthUp to 100 characters in total.
Not allowed.. anywhere, and a bare version number like 2 or v2 (those are pinned links).
UniquePer account: two of your scripts can't share a name. Other people can use the same name under their own handle.

Renaming keeps old links working

Change the name and the old one keeps serving the same script, so loaders already out there never break. The editor lists them under Old URLs that still work. Clearing the field does the same: the name stops being the one you share, but it still works.

  • The × next to an old URL stops it for good. Anyone still using it gets [pasteblox] script 'novahub/old.lua' not found.
  • Give an old name to another of your scripts and it moves there, with everyone who loads it. The editor says so before you save. The same goes for the name of a script you deleted.
  • A name another live script of yours uses right now can't be taken. Rename that one first.

Pinned versions

@n works on named links too: /raw/novahub/main.lua@3 serves v3 of whatever script has that name. Since you can move a name to another script, a named pinned link isn't set in stone like /raw/k3m9x2p7qa@3. For a library that must never change, share the slug's pinned link.

Changing your handle

Named links keep working under your old handle after you rename yourself in settings. If you had named scripts when you renamed, the old handle stays reserved for you, so nobody else can take it and serve their code on your links. Take the old handle back any time. Deleting your account frees it.

See what changed

On any version after v1, the code box has a Code / Diff switch. Diff shows what changed since the version before, line by line, with a count of added and removed lines. The changelog under the code also has Diff vs v3 on each entry.

Going back to an old version

Going back takes two clicks, and it keeps your history:

  1. Open the old version (pick it in Versions).
  2. Click Restore this version in the bar above the code, then Restore v2 to confirm.

pasteblox pushes the old code as a new version, with the summary rollback to @2, and takes you to it. Nothing is deleted: the versions in between stay in the history. Everyone running your loadstring gets it on their next run. Only you see the button (or, for a signed-out paste, the browser that made it).

Forks and stars

Stars

Star is a bookmark and a thank-you. It puts the script on your profile's stars and tells the author. Starring your own script isn't possible.

Forks

Signed in, Fork makes your own copy of the newest version and opens it in the editor. What you get:

  • The code as your v1, with the title plus (fork), and the description, language, game and tags.
  • Visibility Unlisted, until you change it.
  • A Fork of chip linking back to the original, and +1 on its fork count.

You don't get the old versions, the changelog, the key system, the custom URL or the stars. Scripts with a key system can't be forked or copied.

Copy (signed out)

A fork needs an account, so signed out the button reads Copy, with no fork count. It opens the editor with the code filled in and the title plus (copy), under a Copying … note. Publishing makes an ordinary new paste: no Fork of chip, and the original's fork count stays the same. Sign in first if you want a real fork.

Getting on Explore

A script shows up on Explore, search, your profile and in public folders when:

  • it's Public,
  • the risk scan cleared its newest version,
  • and it isn't deleted or taken down.

Every push gets scanned again, so a script is off Explore (and out of its public folder) for a few seconds after each update. People find scripts by Game and Tags, so fill those in. Clicking the game or a tag on a script page opens Explore filtered to it.

Limits

WhatLimit
Script size512 KB. Bigger? Use the CLI.
VersionsNo limit
New scripts, signed in60 an hour
New scripts, signed out10 an hour
Pushes to one script20 in a row, then 10 a minute

Hit a limit and you'll see easy there. try again in 30s. with the real wait time.