Scripts

Signature help showing overload 3 of 5 for CFrame.new
Parameters and overloads

Write Luau the Roblox way, press F5 and watch it play. Stop, and whatever your scripts changed goes back.

No script runs in Edit. F5 runs them all; ShiftF5 puts back what they wrote, made or drew, and keeps your own edits.

Edit No scripts Keyframes play Play Every script runs Edit Their changes go Yours stay F5 Shift+F5

Help as you type

Completion, hints and type errors know every instance in your project.

Luau's own type checker, as in Roblox Studio, rechecks a script a moment after each edit; hover an underline for its message. Fold any scope with the arrows beside the line numbers; guides mark each indented block, and Ctrl wheel zooms from 50% to 200%.

Find and replace with matches marked
Find and replace
A type error underlined, its message on hover
Type errors on hover
Autocomplete offering a function with its type
Completion from real types
Output with errors, one opened to its calls
Errors and their calls
Rename Lerp to Mix: four changes in two scripts, previewed
Rename in every script
Bookmark lines drawn as banners in the editor
Bookmark banners

Where code lives

Share code in modules, play it in InitScripts, build with ToolScripts.

A ToolScript runs once when you press Run, and its changes are real. They're saved, and they're one undo step.

ModuleScriptRequired by other scripts
InitScriptRuns in Play and in renders
ToolScriptRuns once on Run; what it changes is kept
TypeScriptLuau types from the modules that point at it
SandboxA scope with its own Luau VM
Script layersA video layer that returns function(time)
Taskstask.spawn, delay, wait, RunService.Heartbeat, on play time

Stroke has no Script. An InitScript is what runs in Play and in renders. View > Window > Profiler times each frame's script runs and your debug.profilebegin scopes; click a row to open its script.

Type less

Type ! and a word to drop in a require, a path or a CFrame.

Most read the Explorer's selection, so select a module and !selected writes its require line.

!moduleEvery module this script may require
!selectedRequire the selected module
!referenceThe selected instance's path
!cookRead the selected Cook track
!CFrameThe selected instance's CFrame
!viewportThe CFrame of the view you moved last
!b NameA bookmark banner
!class NameA class with new and Destroy
a:=Lerp(b, 0.5)Short for a = a:Lerp(b, 0.5), with any method

Keys

F5Play ShiftF5Stop CtrlQRestart Play QReload edited scripts CtrlF CtrlHFind, replace CtrlGGo to line Ctrl/Comment CtrlDSelect the next match Alt clickAdd a caret CtrlAltUp CtrlAltDownCaret above, below AltUp AltDownMove lines CtrlShiftDDuplicate lines CtrlShiftKDelete lines Ctrl click, AltF12Go to definition ShiftAltF12Find usages F2Rename everywhere TabAccept a completion Ctrl wheel, Ctrl0Zoom, back to 100%
Command bar
Enter, CtrlEnterRun; one undo step ShiftEnterNew line Up DownHistory EscLeave the bar, or stop the run