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:
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
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
Fill in the details

- 1Your code. The line counter shows the size, up to 512kb.
- 2Title. Leave it empty and the first
--comment in your code becomes the title. - 3Visibility: Unlisted, Public or Private. See who can see it.
- 4Language, Game, Tags and Folder. All optional.
- 5Publish. Or press ⌘↵/Ctrl+Enter from anywhere on the page.
- 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
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.
- 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

- 1Copy loadstring. If the risk scan has concerns, it reads Copy anyway and doesn't glow.
- 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).
- 3The ⋯ menu: Open raw, Download as
.luauor.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
Open the editor
On your script page, click Edit. Or pick Edit / push v4 from the ⋯ menu (the number is the next version).
- 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
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

- 1The version picker. v2 of 4 means you're looking at an old one.
- 2Copy pinned loadstring copies a loadstring that always runs this exact version.
- 3Versions. The glowing square marks the Live one, the one the raw link serves.
- 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:
- 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:
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
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
Type a name in Custom URL
The field starts with
/raw/yourname/. Type the rest, likemain.lua. It tells you right away if the name works, if it's taken, or what happens when you save. - 3
Publish or save
The named link works the moment you save. Leave the field empty to go without one.
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:
- Open the old version (pick it in Versions).
- 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
Hit a limit and you'll see easy there. try again in 30s. with the real wait time.