Install

ShotScript Editor sets Studio up in one click, lists every Studio you have open, and keeps itself and Studio's plugin current.

This page covers the install, updates, the list of running Studios, the native panels and turning the editor off in a place.

Install

One click sets Studio up.

ShotScript Editor opens in a silver window of its own. The first time, it shows an Install button. One click gives Studio its plugin and adds a Shot tab to Studio's ribbon.

  • The plugin goes into Studio's folder for local plugins. It is written whole or not at all, so a failed install leaves the one you had as it was. Nothing else in that folder is touched.
  • A ShotScript Editor tab you already have is renamed Shot and keeps your own buttons. A copy of the ribbon as it was is kept first.
  • If you never changed Studio's ribbon, the Shot tab goes after Studio's six built-in tabs.
  • If Studio has never run on this computer, ShotScript Editor asks you to start it once, and adds the tab after you close it.
  • A Studio that is already open shows the Shot tab after you restart it.
  • If the install fails, one line under the button says why.
  • The first time the plugin runs, Studio asks whether it may connect to this computer. Allow it, or the plugin can't reach ShotScript Editor.

The shot tab

The editor's own tab on Studio's ribbon.

The Shot tab has, in this order: ShotScript and Open; Explorer, Properties, Problems and Docs, each opening its dock (see Docks), and Command, which opens the Command Line (see Command Line); the Tools menu, where Find in Place, Place Assets and Collision Groups open; Compile and Ship; Settings, which opens the ShotScript Settings menu, whose Services row opens the Services dock; and Active (see Turn the editor off in a place below). Open opens the script you have selected in a ShotScript tab. A button for each add-on you have sits after the editor's own (see Add-ons).

  • A dock's button opens that dock, and closes it again.
  • The ShotScript button shows the editor's docks you have used; when they are all open already, it hides them. Script tabs stay where they are. Studio's Plugins menu has it too, under Shot.
  • Compile compiles every ShotScript whose Luau is older than its text.
  • If Studio crashes or is ended, the editor's docks you had open come back open when it starts again.

Updates

Studio's plugin and ShotScript Editor stay in step, and ShotScript Editor updates itself.

When the plugin in Studio is older than the one ShotScript Editor carries, ShotScript Editor replaces it by itself. A Studio that is running keeps the plugin it has and loads the new one the next time it starts. Until then the line at the bottom of the list says "The ShotScript Editor plugin updates when Studio next starts."

When the plugin in Studio is newer than the one ShotScript Editor carries, the app opens on an Update button, with a line under it that says so. One click replaces the plugin.

  • With Studio's "Reload plugins on file changed" setting on, a changed plugin waits until no Studio has a place open, so it never reloads under your work. Studio ships with that setting off.
  • New buttons on the Shot tab show in a Studio after you restart it.
  • The panels inside an open Studio update without a restart. If that fails, the Studio's row says Restart Studio to update, and its hover says why.

ShotScript Editor updates itself too. When a newer ShotScript Editor takes the place of its program file, the one running hands over to it quietly. The window stays where it was, and open Studios keep their ShotScript tabs. It waits while you are at the keyboard, and it never asks you to restart.

  • While a newer ShotScript Editor waits, an Update button shows right of the Studios heading. One click updates at once, without waiting for you to leave the keyboard.
  • If something holds the update, such as a play test, the button says so in a few words, like Play running, and the update goes ahead once it clears.

What's running

Every Studio you have open, in one list.

After the install, ShotScript Editor opens on a list with one row for each Roblox Studio running on your computer. A row is named after the place its window shows, a place file by its file name. A Studio still on its start page shows as Studio and its process number.

  • Until Studio's plugin connects, the row says Connecting, with a pulsing amber dot. If it doesn't connect, the row says Not connected with a grey dot (see When a row stays at connecting below).
  • Once it connects, the row shows a circle for each view linked to it: edit, the Play server and the Play client. Under each circle is how many flags that view holds (see Command Line, FLAGS).
  • Hover a circle to see its kind, its place, a client's player and the names of its flags. Click it to bring that Studio to the front.
The Studios tab of ShotScript Editor's window with one linked Studio, its green dot, and its edit circle hovered: the card names the edit view, its place and No flags held.
  • A published place's row has Trust this game?, off at first and kept for each game and place. While it is on, scripts in that place's Studio Play, server and client, can use computer (see Command Line, TRUSTED PLACES). Team Test never gets it. A place file never published to Roblox has no Trust this game?: a call in its Play errors at once and says to publish the place to Roblox first, then turn on Trust this game? for it.
  • While add-ons run for that Studio, the row shows how many.
  • When a Studio exits, its row says Closing, then goes.
  • With no Studio open, the list says so.
ShotScript Editor's list of Studios with none open: it reads No Studio open, then Open a place in Roblox Studio; it links here by itself.

The window's Settings tab holds the settings that are the same in every place: how docs show in scripts (dots, arrows or plain text) and the Explorer's indent. A change goes to every connected Studio at once. When you have add-ons, the tab lists each one and whether it loaded. A place's own settings stay in Studio.

The Settings tab of ShotScript Editor's window: Docs in scripts set to Dots, the Explorer indent set to 22 px over a small preview tree, and the extra docks listed as Ready.

When a row stays at connecting

What to check when a Studio doesn't connect.

Hover over the row: it says what the row is waiting for. Most often it is one of these.

  • The Studio has no place open. The editor connects once you open one.
  • The editor is turned off in that place (see Turn the editor off in a place below). Click Active on the Shot tab, and it connects.
  • The plugin never connected, and the hover says to restart that Studio. Restart it, and allow the connection if Studio asks.
  • A second ShotScript Editor was started while one was already running. The second one says so in a line at the bottom of its list, and your Studios connect to the first one.

How the panels get in

The editor's panels, in Studio's own docks.

ShotScript Editor loads a DLL of its own into a running Studio. Inside Studio, that code uses Studio's own UI toolkit, Qt, and the public functions of its docking library to make real dock panels. They tab, dock and float like Studio's own panels and follow Studio's theme.

  • It changes none of Studio's program files and decompiles nothing. It uses Qt's public functions, the functions Studio's docking library publishes, and Studio's own settings.
  • If a Studio update breaks something the panels need, the docks stay ordinary plugin docks, with a line that says why.
  • A crash in that code closes that Studio, as any Studio crash would. The switch's hover says so too.
  • The panels need ShotScript Editor running. Close it and each dock says so, and it fills again when ShotScript Editor starts.

The native panels switch

One switch for every Studio, on from the start.

The Native panels in Studio switch sits on ShotScript Editor's list, and it is on from the first start. While it's on, every Studio you open gets the panels.

  • Each row says what its panels are doing: off, loading, on, linked once they talk to ShotScript Editor, or failed with a short reason. Click a failed row to try again.
  • Turning the switch on loads the panels into every open Studio at once.
  • Turning it off stops new loads. A Studio that already has the panels keeps them until it restarts, and the list says so under the switch.

While the switch is off, each of the editor's docks in Studio says native panels are off, with a Turn on button that does what the switch does.

Turn the editor off in a place

An off switch for each place, kept by Studio.

The Shot tab, and Studio's Plugins menu under Shot, have Active: it is lit while the editor is on in that place, and a click turns it off, or on again. Turned off, the editor hides every one of its docks and tabs in that place and then writes nothing to the place. Scripts open in Studio's own editor, and the editor's other buttons grey out. Turned on again, the same docks and tabs come back.

  • Studio keeps the choice for each place, so a place you turned off opens with the editor off the next time.
  • The editor's docks stay hidden while it is off, even when Studio's layout would bring them back.