The Roblox Studio Command Bar runs Luau directly in Studio. Open it from the Script tab or Window → Script menu. Roblox also documents Ctrl+9 on Windows and ⌘9 on Mac for jumping to the bar. Start with a small command whose result you can recognize in Output.

Open the Command Bar and Output together
- Open a practice place in edit mode.
- Find Command Bar through Script or Window → Script.
- Open Output from the Window menu or Script tab.
- Enter
print("Command Bar check")and review it. - Use the bar’s Run control and look for that exact message in Output.
The menu paths come from Roblox’s Studio interface reference. Its Output guide explains message, context, and text filters. If the message seems absent, inspect those filters before assuming the command did not execute.
Use a distinctive message for the first check. A large project may already print unrelated lines, so “Command Bar check” is easier to identify than another “hello.” This establishes only that the reviewed print ran in the current context; it says nothing about a different script’s behavior.
Why Enter may insert a line instead of running
Roblox’s March 2026 full-release announcement confirms native multiline editing. It documents Execute command with Return under Studio Settings → Studio → Command Bar. With that option enabled, Shift+Enter inserts a new line.
The earlier official feature introduction documents the Run button and Ctrl+Return. Check your current Return setting when following an older single-line tutorial. A line break in the editor is a different observation from an error after execution.
For a multiline practice command, read the whole block before running it. A partly visible first line does not explain what later lines do. Keep the first exercise short enough that you can name every operation and expected output.
Report the objects you selected
Select one object in Explorer, then run this report from the Command Bar in edit mode:
local selected = game:GetService("Selection"):Get()
print("Selected instances:", #selected)
for index, object in ipairs(selected) do
print(index, object:GetFullName(), object.ClassName)
end
Selection:Get() reads Studio’s current selection. This example prints each selected instance’s path and class. It does not change names, properties, parents, or selection; it does not load a module or contact a network service.
Try a two-part practice house. First select its Model and record the report. Next select just the Door child and run it again. Finally select both child Parts and compare the count. The exercise makes the difference between a model, a child, and a multi-selection visible without changing the objects.
| Selection | What to check |
|---|---|
| One house Model | Count one; reported class Model |
| One Door Part | Count one; full path identifies the intended child |
| Two child Parts | Count two; both expected paths appear |
| Nothing selected | Count zero; no object rows |
Do not depend on row order to decide which object is the target. Compare the paths and classes themselves. If you intended to inspect Door but the output names the whole house, fix the selection before preparing an editing command.
Command Bar, Script Editor, and Output have different jobs
Use the bar for a deliberate command you want to run now. Use a Script or ModuleScript when the code belongs in the project’s maintained implementation. Use Output to inspect messages. For paused runtime investigation, Roblox’s debugging guide covers breakpoints and related tools.
Record whether you are editing, observing a server test, or observing a client test before interpreting a result. A line printed in one context does not prove the corresponding object or value is identical in another. For a two-client comparison, continue with the multiplayer testing guide.
Do not treat Undo as a universal recovery plan
The full-release announcement describes command undo/redo support but explicitly excludes permanently destructive operations such as Instance:Destroy() and Debris:AddItem(). A command being available in history does not mean its effects can all be reversed.
Before a command that edits a place, identify its target set and preserve a saved copy. Start with a report of the objects it would affect. Review any module loading, remote requests, deletion, or bulk property assignments as part of the actual command. A friendly label or a short first line is not a description of the entire operation.
Our save and backup guide and Undo and Redo guide cover those separate workflows. This article’s print and selection examples intentionally make no object edits.
When the bar appears to do nothing
- You got a new line: inspect the Return setting or use the documented Run control.
- No message is visible: inspect Output’s filters and current context.
- The count is zero: select the intended instance, then rerun the report.
- The path is wrong: check the selected parent and child in Explorer.
- An error appears: keep the exact message and the command that produced it; fix that specific reproduction before adding more operations.
When reviewing an Obby project, use a read-only report to establish the target before requesting an edit. A small named room with a door and roof is enough for this practice. The generated result still needs inspection in the development environment.
Primary documentation reviewed December 1, 2026. The selection exercise and diagram are original learning aids. No command was executed in native Studio for this editorial review.


