Folders & subfolders
Organize your scripts in folders, and share a whole folder publicly.
Once you have more than a handful of scripts, put them in folders. They work like folders on your computer: folders inside folders, drag and drop, and a path like bedwars / esp. A folder is private until you choose to share it as a public folder, which anyone can browse like a repo on GitHub.
Private until you share them
A new folder is just for you. Nobody else sees it: not on your profile, not on the script page, not in the API. Moving a script into a folder changes nothing for players: the link, the loadstring and the versions stay exactly the same.
Folders need an account. Pasting signed out works, but the script lands in no folder until you claim it.
The dashboard
Your folders live in your dashboard. On a computer it looks like this:

- 1The folder tree. All scripts shows everything, Unfiled shows scripts in no folder. The number on a folder counts everything inside it, subfolders too.
- 2The path to where you are. Click any part to go back up.
- 3New folder makes one right here, and New script here opens the editor with this folder already picked.
- 4Subfolders come first, then the scripts in this folder.
A top-level folder also shows how full it is, like 8 scripts · 12 KB of 25 MB (see limits).
The address bar follows you around, like pasteblox.com/dashboard/f/games/bedwars, and pasteblox.com/dashboard/unfiled for unfiled scripts. Each part is the folder's name in lowercase with dashes, so UI Libs! becomes ui-libs. Bookmark a folder you use a lot, and the browser's back button takes you to the folder you were in before. Renaming or moving a folder changes its address. Old links to it, or to a folder that was deleted, show that folder is gone. (it was deleted, or the link is old. every script is still in all scripts.) with a Back to all scripts button. Links from before folders had names (/dashboard?folder=12) still work: they take you to the folder's new address.
Two words you'll see a lot: scripts in no folder are Unfiled, and folders that aren't inside another folder are at the top level.
Make a folder
- 1
Click New folder
Use the + next to Folders in the tree for a folder at the top level, or New folder at the top of the folder you're in for a subfolder. No folders yet? Click Make a folder.
- 2
Type a name, press Enter
A name field shows up in place. Enter saves, Esc cancels. In the tree the field stays open, so you can type a few names in a row (
↵ add · esc done). A name that won't work (taken, too long, or with a/) keeps the field open and says why, so you can fix it. - 3
Give it a color (optional)
Open the folder's ⋯ menu and pick a color. Each new folder gets a different one by default.
Moving scripts and folders
There are three ways. Use whichever feels easiest.
Drag and drop
Grab a script row and drop it on a folder: in the tree, in the list, or on a part of the path at the top. A folder you hover in the tree opens by itself after a moment, so you can reach subfolders.

- Select several scripts with their checkboxes (Shift-click selects a range), then drag one of them. They all move together.
- Folders drag the same way. Drop a folder near the top or bottom edge of another folder to put it above or below instead of inside.
- All scripts (in the tree or at the start of the path) takes both: scripts dropped there become unfiled, folders move to the top level. Unfiled takes scripts only.
- A place you can't drop on stays dim, and hovering it tells you why.
Move to…
Every script and folder has Move to… in its ⋯ menu. When you've selected scripts, it's also in the bar at the bottom. It opens a picker with all your folders:

- 1Type to search. Use
/for paths:bed/espfindsespinsidebedwars, even with folders in between. - 2Matches show their full path, and the first one is picked for you. Use ↑/↓ to pick another. Without a search, Here now marks where it is now, and greyed-out folders can't take it. The first row is Unfiled when you move scripts and Top level when you move a folder.
- 3Move here, or press Enter. No folder for it yet? New folder here makes one under the highlighted folder.
Undo
Every move shows a toast with Undo for a few seconds, like moved to “esp”, moved to unfiled, moved “esp” into “ui libs” or moved “esp” to the top level. Undo puts things back where they were, even when the scripts came from different folders.
Searching inside a folder
When you're in a folder, the search box shows a chip like In bedwars. Your search then looks in that folder and every folder inside it. Click the ✕ on the chip to search all your scripts with the same words.
Results from a subfolder show a small path chip, like esp. Click it to open that folder. Press / to jump to the search box.
Keyboard shortcuts
Click a folder in the tree first, then use these. They work in the tree on a computer only, not in the list or on a phone.
Rename and delete
Rename with Rename in the ⋯ menu, by double-clicking the name, or with F2 in the tree.
Delete folder… asks first, and tells you exactly what will happen, like its 3 scripts and 1 folder move up to bedwars. or, for a folder at the top level, its 3 scripts move to unfiled and its 1 folder to the top level. followed by the scripts, links and loadstrings stay exactly as they are. Deleting a folder never deletes scripts. Whatever was inside moves up one level:
- Scripts move to the parent folder, or to Unfiled if the folder was at the top level.
- Subfolders move up with everything in them (to the top level if the folder was there). If the name is taken up there, it gets a number, like
esp (2). - Links and loadstrings don't change.
Picking a folder in the editor
When you make or edit a script, the Folder field (it says Only you see it) chooses where it goes. Once you pick one, a small Lands in pill shows up right above Publish, so you always know where it ends up. Click it to change.

- 1The Folder field. Click it to pick a folder (or No folder) in a picker called File it in….
- 2Lands in shows where the script will go. Click it to change.
In a folder on the dashboard, New paste and New script here pick that folder for you. A link like pasteblox.com/new?folder=12 does the same. A new script filed into a public folder starts out Public too. You can still change that before you publish.
Public folders
A public folder is like a repo on GitHub: anyone can open it, click through its subfolders and run its scripts. It's the easy way to share a whole collection, like every script you made for one game.
- 1
Open the folder
Only folders at the top level can be public. Their subfolders follow along. Open the folder in your dashboard and click Make public at the top, or pick Make public… in its ⋯ menu.
- 2
Check and confirm

- 1How many scripts are inside, and how much of the 25 MB they use.
- 2Make all 1 script inside public, on by default. Private and unlisted scripts become public with the folder. Turn it off and only the scripts that are already public show up.
- 3A one-line Description (optional, up to 200 characters). It shows under the name. Change it later with Edit description… in the ⋯ menu.
- 4Make public. The toast has a View button that opens the public page.
Every script needs a clean scan
A folder can only go public when every script in it, subfolders included, passed the risk scan. The dialog tells you what's in the way:
- Still scanning:
waiting for the scan on 2 scripts.The dialog checks again by itself every few seconds. Usually that's done in moments. - Flagged: the dialog lists them, and Make public stays off until they're out. Move it to unfiled does that in one click.
- Empty:
add a script first: empty folders can't be public.

- 1The flagged script, with Open to see what the scan found.
- 2Move it to unfiled takes it out. The check runs again and Make public lights up.
The public page
A public folder lives at pasteblox.com/u/novahub/games, and each subfolder adds to the path, like pasteblox.com/u/novahub/games/bedwars.

- 1The folder's name, with a Public chip and its description underneath.
- 2The path. Click any part to go back up.
- 3Sort by Name or by Updated. Subfolders always come first, then scripts.
- 4Copy link copies the page's address. The ⚡ button on a script row copies its loadstring right from the list.
- Only scripts that are Public and passed the risk scan show up. Private and unlisted ones stay hidden, and so does a script whose newest version is still being scanned or got flagged.
- Your profile gets a Folders list with every public folder, and Explore has a Folders tab with recently shared ones.
- The page's address follows the folder's name. Renaming or moving a folder inside it changes the address, so share links after you've settled on the names.
On the script page
A script in a public folder shows where it lives. The breadcrumb above the title has the folder path, and next to the code there's a panel with the rest of that folder.

- 1
@novahub / games / bedwars. Every part is a link to that folder's public page. - 2In bedwars: the folder's subfolders and scripts, the current one highlighted. On smaller screens it's a closed In bedwars · 3 files row under the breadcrumb. Tap it to open.
On your own scripts you see your own folders there, public or not. Everyone else only sees public folders.
Making it private again
Make private in the folder's ⋯ menu hides the folder page and takes it off your profile and Explore. That's all it does: the scripts inside keep their own visibility, so a public script stays public, with the same link and loadstring.
On your phone
Small screens have no tree. The top of your dashboard lists your folders instead, with Unfiled at the end. Tap a folder to open it, and use the path at the top to go back.

- 1Your folders at the top level, with New folder on the right.
- 2Unfiled: scripts that aren't in any folder.
You can't drag on a phone. Tick the scripts you want, then tap the folder button in the bar at the bottom (Move to…).
Limits
Importing a lot of files at once? Folders can be made for you. See bulk import.