World Executor · Roblox VM

Console

Create, customise, and write to a dedicated console window for your script — separate from Roblox's F9 developer output.

Overview

A console window your script owns, separate from Roblox's F9 developer output and from the editor's console pane. Useful when output would drown the editor, when you want it to survive the editor being covered, or when you need to prompt for input.

A console session
rconsolecreate()
rconsolesettitle("my tool")

rconsoleinfo("starting up")
rconsolewarn("this one is yellow")
rconsoleerr("and this one is red")

rconsoleprint("name? ")
local name = rconsoleinput()      -- blocks until Enter
rconsoleprint("hello " .. name .. "\n")

rconsoledestroy()

Most functions have both an rconsole and a console spelling — they are aliases, so use whichever reads better to you.

Window control

Output

Window & input