Build a Roblox Level with Codex by Using a Level Designer's Rules
A level designer's prompts let Codex build a playable Roblox level in Roblox Studio.
How to use
- Connect Codex to Roblox Studio through MCP.
- Paste PROMPT 01 and then PROMPT 08.
- Read the plan and type 'go'.
- Play the level and check the numbers that the Checker prints.
PROMPT 01: the header for every brief
You are working in Roblox Studio through the MCP, on the place "Last Light". Everything you create goes under Workspace > LastLight. First give me a short plan for this task. Do not build until I say "go". Rules for the whole game: no on-screen text, no labels, no ProximityPrompts, no UI, no explaining sounds. The game teaches by layout, light and props only. No free models or toolbox assets. Change nothing outside this task. If a step fails twice, stop and write the exact error. When you finish, report what you built, the numbers the test prints, and anything you are unsure about. Do not claim something works unless you ran it.
PROMPT 08: the base level, shortened
Build the greybox. Parts and Terrain only. An island about 400 x 400 studs in Terrain water, the peak about 120 studs above the dock. Nothing further than 500 studs from the SpawnLocation. Dusk, not night: the scene must stay readable on video. Seven zones along one main path, one Folder each: Z0_Dock, Z1_Courtyard, Z2_OilPath, Z3_Ridge, Z4_Gully, Z5_Hut, Z6_Lighthouse. The main path from spawn to the lamp is about 700 studs, walkable with the default character, no jump required. The lighthouse is visible from Z0, Z2 and Z4. At the base of the lighthouse, a closed Part named ShortcutGate leads to a steep direct path down to the dock. Every 20 studs along the main path, an invisible Part tagged "Waypoint", named WP_001, WP_002... in walking order. The same along the shortcut, SC_001... Checker: a Script in ServerScriptService that prints the main path length, the shortcut length, the distance from spawn to the farthest Part, the Part count, and each zone's length along the path. Read more
Summary
A level designer (@lvlforge on X) used Codex to build 'Last Light', a Roblox level. You carry a lantern up a dark island to a lighthouse. Codex used GPT-6.1 Sol and worked in Roblox Studio through MCP. The final level has 2,685 parts. He says that it used about 66% of one week's limit on a ChatGPT Plus plan.
His X article (18 Nov 2026) gives 6 level design rules and 8 prompts. Every brief starts with one header prompt: make a plan first, build only after 'go', no UI or text on screen. A Checker script prints the path lengths and the part count. He also lists what went wrong, for example a lantern that you could drop and lock the game.
For Cambodia
Many young people in Cambodia play Roblox. With these prompts, a student can build a real level without a big team. The design rules also work in Unity, Godot or Unreal.
Notes
Note
X article by @lvlforge (LvlForge), '6 Level Design Rules Your AI Agent Doesn't Know (Every Prompt Inside)', 18 Nov 2026, read via the X API on 2026-11-22. The two prompts are quoted verbatim with his labels: PROMPT 01 (the header for every brief) and PROMPT 08 (the base level, which he calls 'shortened'). The other six prompts are in the article. The hero clip is his own gameplay video from the article. The numbers (2,685 parts, 66% of a week's limit) are his. The account is new and the post had few likes on the check day. Title, summary and why are in our words.
Source
Open the original source.
https://x.com/lvlforge/status/2123114834258706859 (opens in a new tab)
The first category on a case is its primary purpose. Any later category is a secondary tag.