AI-assisted development: Studio MCP, Assistant, Blender MCP

Use AI agents on a Roblox project without trusting them blindly. Connect Studio's built-in MCP server, compare Assistant, Blender MCP and ComfyUI, and learn the verification habits that caught real failures while this course was built.

Tool lesson, about 90 minutes, 14 steps

By the end you can

  • Connect a coding agent to Studio through its built-in MCP server, and name what its tools can and cannot do
  • Say what Studio's Assistant, Blender MCP and local ComfyUI models are each good for
  • Check an agent's work with the files, a test and Play instead of trusting its summary, including a test Assistant drafts for you
  • Name the failures this course hit while it was built with AI agents, and the habit that caught each

Before this: The toolchain: Rokit, Wally, pesde, StyLua, Selene, luau-lsp

1One period too many

Ask an assistant to write the line Beacon Yard shows while the round is idle. It will answer in a second, with confidence, and it will probably copy the nearest sentence it can find. In the game's HUD code there are two sentences that look the same.

	local IDLE_OBJECTIVE = "Go to the beacon and hold E to start the drill"
Figure 1.1
		"Go to the beacon and hold E to start the drill.",
Figure 1.2

The first is the Idle label. The second is a tutorial toast. One has a period. An assistant that copies the toast has changed the user interface, and nothing will warn you.

Which string is the Idle HUD label in Hud.luau?

  1. Go to the beacon and hold E to start the drill
  2. Go to the beacon and hold E to start the drill.
  3. Hold E at the beacon
  4. Start the drill at the beacon
Answer

Go to the beacon and hold E to start the drill. The Idle label has no period. The first-join toast, a few lines lower, adds one. A tool that fixes the punctuation of the wrong one breaks the label. This is the kind of mistake that reading the diff and running a test catch, and a summary does not.

Open this step in lesson mode · Link to this step · This confused me

2Four tools, four jobs

AI help for Roblox comes in four forms, and they do different jobs.

Both sidesAI coding agents is a very fast apprentice who never says I do not know.
In the pictureIn Roblox
The apprentice types the changeThe agent edits scripts and files
You look over their shoulderYou read the diff in Git before accepting it
Show me it worksA test that failed before, and a playtest in Studio

See the whole analogy cast

  • Assistant is Roblox's own chat inside Studio. It can create and edit objects and scripts in the open place, insert Creator Store assets, and generate meshes and materials1.
  • The Studio MCP server is a door that lets an outside coding agent do many of the same things. It is built into Studio2.
  • Blender MCP is a third-party plugin that lets an agent drive Blender, where the course's meshes were made.
  • ComfyUI runs image and audio models on your own computer. It is a graph editor for models, not an assistant.

Match each job to the tool that fits it.

  1. Ask a chat inside Studio to add a Part and a script to the selected object
  2. Let a terminal-based coding agent read scripts and run a playtest in your open place
  3. Have an agent model a coin in the open Blender file
  4. Generate a texture or a voice on your own GPU, with no cloud service
Answer

Ask a chat inside Studio to add a Part and a script to the selected object: Assistant; Let a terminal-based coding agent read scripts and run a playtest in your open place: Studio MCP server; Have an agent model a coin in the open Blender file: Blender MCP; Generate a texture or a voice on your own GPU, with no cloud service: ComfyUI. Assistant lives in Studio. The MCP server connects an outside agent to Studio. Blender MCP connects an agent to Blender. ComfyUI is a local model runner.

Open this step in lesson mode · Link to this step · This confused me

3Turn on the Studio MCP server

MCP (Model Context Protocol)MCP (Model Context Protocol)An open standard that lets AI tools talk to other programs through a fixed set of tools.Think of it as a socket with a standard shape, so any agent plug can reach Studio or Blender. is an open standard that lets AI tools talk to other programs. Studio's server is built in and speaks over standard input and output, so there is nothing to download. You switch it on in Assistant, then the three dots, then Manage MCP Servers, then Enable Studio as MCP server2.

Roblox Studio
Studio's Assistant Settings dialog on the MCP Servers tab over the Beacon Yard viewport at sunset: Enable Studio as MCP server is switched on, the status line reads 1 client connected, Quick connect lists Antigravity, ChatGPT (codex), Claude Code CLI, Cursor and Visual Studio Code, and the MCP Permissions tab sits in the left column.

Select a numbered pin, or a row below, to read what it marks.

Figure 3.1.

Assistant Settings, MCP Servers tab, with Studio's MCP server on and one client attached.

To talk to Studio, you also need an MCP client on your machine. Studio's Quick connect dropdown supports Claude Desktop, Claude Code, Cursor, Visual Studio Code, Codex CLI, Gemini CLI and Antigravity. For a concrete setup, install Claude Desktop, toggle it on in Quick connect, and restart Claude Desktop. If Quick connect does not list your client, add the Roblox_Studio server manually to its config file:

Windows

Open %APPDATA%\Claude\claude_desktop_config.json (or .vscode/mcp.json for VS Code) and add:

json
{
  "mcpServers": {
    "Roblox_Studio": {
      "command": "cmd.exe",
      "args": ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"]
    }
  }
}

Then restart Claude Desktop.

macOS

Open ~/Library/Application Support/Claude/claude_desktop_config.json (or .vscode/mcp.json for VS Code) and add:

json
{
  "mcpServers": {
    "Roblox_Studio": {
      "command": "/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP"
    }
  }
}

Then restart Claude Desktop.

If you come across older guides pointing to Roblox's open-source Roblox/studio-rust-mcp-server, skip it: that repository was archived (read-only) on 3 April 2026, and Studio's built-in server replaced it3. Every tool call carries a studio_id, so an agent addresses one Studio window explicitly. list_roblox_studios returns the ids.

Put the steps of connecting Claude Desktop (or another MCP client) to Studio in order.

  1. Ask the client to call list_roblox_studios and read the studio id
  2. Turn on Enable Studio as MCP server
  3. Connect Claude Desktop with Quick connect or claude_desktop_config.json, then restart it
  4. Open the three dots menu and choose Manage MCP Servers
  5. Open Assistant in Studio
Answer

1. Open Assistant in Studio 2. Open the three dots menu and choose Manage MCP Servers 3. Turn on Enable Studio as MCP server 4. Connect Claude Desktop with Quick connect or claude_desktop_config.json, then restart it 5. Ask the client to call list_roblox_studios and read the studio id. The server must be enabled before a client can reach it, and clients need a restart to pick up the new entry. The studio id from list_roblox_studios goes on every later call.

Open this step in lesson mode · Link to this step · This confused me

4What the tools can touch

The documentation lists the tools in groups. These are the ones that matter for Beacon Yard.

Reference Studio MCP tools, from the docs page read on 2026-11-23

Tool names and limits come from Roblox's documentation. They change, so check the page.

script_read, multi_edit, script_search, script_grep
Read a script by dot path, apply several edits (creating the script if it is missing), search by name (up to 10 results) and search text (up to 50 matches). A bug past the fiftieth hit does not appear, so search again with a tighter pattern.
execute_luau
Runs Luau in Studio, in the Edit, Client or Server data model. A coin check during Play belongs in Server.
start_stop_play, get_console_output, screen_capture
Start and stop Play, read Output, capture the viewport. Screenshots are the default because they cost far less than video.
character_navigation, user_keyboard_input, user_mouse_input
Pretend to be the player: walk to a position, press keys, click.
save_place
Saves like File, Save, with no dialog. For a place opened from Roblox that writes a new version. It never publishes.
generate_mesh, generate_material, generate_animation
Text to a mesh, a material variant or an R15 animation of up to ten seconds. The page lists no generate_texture.
open_cloud_invoke
Calls Open Cloud with permissions you grant per game, with no API key. Described in the next step.

An agent uses execute_luau to require Beacon Yard's DataService and read a player's profile during Play. It sees an empty profile, although the player has coins. Why?

  1. execute_luau has its own require cache, so it gets a second, empty copy of the module
  2. Profiles are deleted when Play starts
  3. The agent used the wrong studio id
  4. DataStores are blocked in Studio
Answer

execute_luau has its own require cache, so it gets a second, empty copy of the module. The command bar has its own require cache, so requiring a service from it builds a second copy that never saw the player. Beacon Yard's guide for this is to invoke the RunGameTests bindable that the running server exposes instead.

Open this step in lesson mode · Link to this step · This confused me

5What you let it do

Studio's server can also call Open Cloud for the agent, without an API key. You choose, per game and per person, which scopes the agent may use. Each game starts at Balanced. Safe turns most things off. Full access includes actions that can cost Robux, affect players or publish to the live game4. Permissions apply to outside agents only, not to Assistant.

The docs also warn that any MCP client you connect can read and change your open places, so connect only clients you trust2.

You are experimenting with a new agent on your real, live copy of Beacon Yard. Which access level fits?

  1. Use Safe for Open Cloud scopes, and try edits in a separate development game
  2. Full access, so it can finish whatever it starts
  3. Any level, since permissions only apply to Assistant
  4. None; MCP clients cannot change a place
Answer

Use Safe for Open Cloud scopes, and try edits in a separate development game. Full access includes high-risk scopes that can publish or spend Robux, and the permissions apply to outside MCP clients. Test new tools where the worst case is a broken copy.

Open this step in lesson mode · Link to this step · This confused me

6Verify, do not believe

Agents write fluent summaries whether or not the work is right. Four habits turn a summary into evidence:

  1. Read the diff. In Git, with your own eyes. The files show what changed. The summary shows what the agent thinks changed.
  2. Run a test that would have failed before. A check that already passes on the old code proves nothing.
  3. Press Play. Studio and the tests can disagree with a green summary.
  4. Check every link and number. If a claim has a source, open it.

Practise the second habit. This draft of the label function came from an assistant. The test is already written. Make the cell pass.

Luau
-- An assistant's draft for AiCheck.idleObjective. It copied the toast.
local function idleObjective(): string
	return "Go to the beacon and hold E to start the drill."
end
 
print(idleObjective())
Figure 6.1. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Why is it better to write the test before you ask the assistant for the code?

  1. The test says what done means, and you can see it fail first, so you know it can catch the mistake
  2. Assistants refuse to write code without a test
  3. Tests make code run faster
  4. It saves typing
Answer

The test says what done means, and you can see it fail first, so you know it can catch the mistake. A test written after the code tends to copy what the code does, bugs included. A test you have already seen fail is a check that works.

Open this step in lesson mode · Link to this step · This confused me

7Let Assistant draft a test, then review it

Now the habit on real code. Beacon Yard's ReceiptRules.undoReceipt takes back a grant whose save failed. Its first line returns early when the purchase id is not in the list. The specs in unit/specs/ReceiptRules.spec.luau test three undo cases, but not that one.

function ReceiptRules.undoReceipt(data: ReceiptData, receipt: ReceiptInfo, grant: number, applied: Applied)
	local index = table.find(data.recentPurchaseIds, receipt.PurchaseId)
	if index == nil then
		return
	end
	table.remove(data.recentPurchaseIds, index)
	if applied.evicted ~= nil then
		table.insert(data.recentPurchaseIds, 1, applied.evicted)
	end
	data.coins -= grant
Figure 7.1

Assistant can write and edit scripts in the open place, and Roblox's own guide warns that a generated script "might not function flawlessly". Plan mode (/plan) shows its steps first and runs nothing until you click Build1. Your job is the review.

Here is a made-up draft of the kind assistants often write, before you try your own:

luau
-- An illustrative draft of ReceiptRulesUndo.spec
local ReceiptRules = require(game.ServerScriptService.Server.ReceiptRules)
 
describe("ReceiptRules.undoReceipt", function()
	it("does nothing for an id that was never recorded", function()
		local data = { coins = 50, recentPurchaseIds = { "p-1" } }
		ReceiptRules.undoReceipt(data, { PurchaseId = "p-9", PlayerId = 7, ProductId = 4242 }, 50, {})
		expect(data.coins).toBe(0)
		expect(#data.recentPurchaseIds).toBe(1)
	end)
end)

Which problems does this draft have in Beacon Yard's test place?

  1. It requires ReceiptRules from ServerScriptService, but test.project.json maps src/server into ServerStorage
  2. describe, it and expect are used without taking them from JestGlobals, as the project's specs do
  3. It expects 0 coins, but an undo for an id that was never recorded must leave the 50 coins alone
  4. Passing {} as applied is wrong, because applied must always name an evicted id
Answer

It requires ReceiptRules from ServerScriptService, but test.project.json maps src/server into ServerStorage; describe, it and expect are used without taking them from JestGlobals, as the project's specs do; It expects 0 coins, but an undo for an id that was never recorded must leave the 50 coins alone. The test place runs no game code, so its server modules live in ServerStorage.Server and this require fails. The project's specs take describe, it and expect from JestGlobals, so here they are nil. The early return means nothing changes, so coins stay 50: the draft asserts the bug instead of the rule. An empty table is a fine applied value, because evicted is optional.

Build along

m14-ship

  • unit/specs/ReceiptRules.spec.luau
  • src/server/ReceiptRules.luau
  • test.project.json
  1. On m14-ship, run wally install and rojo build test.project.json -o build/beacon-yard-tests.rbxlx, then open that file in Studio.

    You should see Studio opens beacon-yard-tests with ReplicatedStorage.UnitTests and ServerStorage.Server in the Explorer, and no yard in the Workspace.

  2. Open Assistant, switch to Plan, and ask: "Add a Jest-Lua spec named ReceiptRulesUndo.spec in ReplicatedStorage.UnitTests that checks ReceiptRules.undoReceipt leaves coins and recentPurchaseIds unchanged for a purchase id that was never recorded. Follow ReceiptRules.spec." Read the plan, then click Build.

    You should see Assistant shows a plan that adds a new spec ModuleScript under ReplicatedStorage.UnitTests. Nothing changes until you click Build.

  3. Review the new script against the same three questions as the draft above: where does it require from, where do describe, it and expect come from, and does every expected number follow from the rule? Fix what is wrong by hand.

    You should see Your notes list every line you changed and why: the require path, the JestGlobals import, the expected numbers, or nothing, with a reason.

  4. Paste the contents of unit/run.server.luau into the command bar in Edit mode (not Play) and press Enter.

    You should see Output ends with UNIT SUITE DONE, and the passed count is higher than before by the number of tests in your spec.

  5. Delete the early return in ServerStorage.Server.ReceiptRules.undoReceipt (the if index == nil then block), run the suite again, then press Ctrl+Z (macOS: Cmd+Z) until it is back.

    You should see Output says UNIT SUITE FAILED, and the failing test is yours. After you undo the edit, the suite passes again.

  6. Copy the reviewed spec into unit/specs/ReceiptRulesUndo.spec.luau on a new branch in your fork and run stylua --check unit.

    You should see git status shows one new file, unit/specs/ReceiptRulesUndo.spec.luau, and stylua --check passes on it.

Open this step in lesson mode · Link to this step · This confused me

8How this course was built, with its failures

This course was written with AI agents, and the honest account is more useful than a tidy one. A lead agent wrote the plan and checked the work. About ten Claude and Grok workers wrote lessons, tests and captures, each with a short list of files it owned and a check to pass. Four things went wrong, and each one is why a habit above exists.

Reference What went wrong, and what caught it

The work also hit usage limits on the AI plans. The fix was to cut every job into pieces small enough to restart and to keep the plan, the evidence and the notes in files, not in a chat.

27 of 45 captures failed review
Agents drove Studio and recorded footage. Three reader agents then opened every frame: 4 captures passed, 14 were partial and 27 failed. Reasons included starting in Edit mode instead of Play, a tooltip over the toolbar, the wrong window docked in front, and the author's own account name in the player list. One worker failed four Studio capture passes in a row, and that task moved to a different agent. Habit: look at the artefact, not the log.
218 URLs checked, 6 DevForum cites flagged
A script requested every cited URL: 204 answered 200 and 14 redirected. A second check followed DevForum redirects and compared the final address with the topic meant. It flagged six citations. Five of them used two numeric topic ids that led to unrelated threads, such as a 2015 'what are you working on' thread. The sixth was only a renamed address for the right topic. Habit: open the final URL and read the title.
40 of 40 checked challenges fail before the fix
Five Level 3 tests passed on the unchanged game when they were first written. The studio tour check, for example, created its own marker part inside the test, so it passed without any change to the game. They were redesigned to read something only the learner's change can create. Habit: run every test on the unchanged code first.
several, logged one by one
A texture slash command named on one page was not in the MCP tool table. A file-import call timed out while a dialog waited for a click. A local web call from Studio was blocked by an allowlist. Installing the Blender add-on took three failed PowerShell quoting attempts, and a Blender window that was already open never loaded it. Habit: trust the tool list you were given, then check the instance.

An early draft of the studio-tour check created a part called TourMarker inside the test and then looked for it. What was wrong with it?

  1. It passed on the unchanged game, so it could not tell a finished task from an unfinished one
  2. It was too slow
  3. TourMarker is a reserved name
  4. It used a RemoteEvent
Answer

It passed on the unchanged game, so it could not tell a finished task from an unfinished one. A test that makes its own evidence passes before anyone does the work. The redesigned test looks for Workspace.Yard.TourMarker, which only MapBuilder can create, so it fails on stock and passes after the change.

Three reader agents reviewed 45 captures. 4 passed and 14 were partial. How many failed?

Answer

27 captures. 27 failed. They were recaptured or removed, and the new rule was that a capture is not done until someone has looked at the frames.

Open this step in lesson mode · Link to this step · This confused me

9Match the failure to the habit

Go deeper The claims files

The first version of this course kept six claims files, named A to F. Each is a table with the chapter, one factual sentence, where that sentence came from, and a verdict. A sentence with no source in the game's code, logs or documentation could not get an ok. The lead agent audited those tables, not the workers who wrote the sentences.

Match each failure from the build to the habit that catches it.

  1. A cited DevForum link opens an unrelated thread
  2. A capture looks fine in the log but shows the wrong window
  3. A challenge test passes before anyone does the task
  4. A summary says the tests passed
Answer

A cited DevForum link opens an unrelated thread: Open the final URL and read its title; A capture looks fine in the log but shows the wrong window: Open the frames themselves; A challenge test passes before anyone does the task: Run it on the unchanged code first; A summary says the tests passed: Read the output and the diff yourself. The pattern is the same four times: do not trust a report about the artefact. Look at the artefact.

Open this step in lesson mode · Link to this step · This confused me

10Blender MCP and local models

Figure 10.1.

An agent changes the coin's colour in an open Blender window through the MCP add-on. The file is not saved.

Transcript
  1. 0:00 The MCP for Blender tab is in the N sidebar. Connected is on. Preferences stays closed.
  2. 0:12 The checkboxes are the libraries and the generators. None of them is clicked.
  3. 0:18 A Blender MCP command changes the coin from gold to cyan in this window. The file is not saved.

Blender MCP's own README says it is a third-party integration, not made by Blender. It was renamed mcp-for-blender, and its installer is a command that pipes a downloaded script into your shell5. Read a script like that before you run it, as you would any program from a stranger. The add-on can also run Python inside your open Blender, so save your work first.

ComfyUI is the other kind of tool: a graph editor for models that run on your own machine6. An earlier version of this course used it to generate a steel-plate texture and to make narration audio. The textures that ship in the game from the art milestone are CC0 sets instead, and no ComfyUI texture is used there.

Before you let an agent drive your open Blender file through MCP, what is the sensible first step?

  1. Save the file, because the add-on can run Python that changes or breaks the scene
  2. Disable the add-on after every command
  3. Nothing; Blender MCP is made by the Blender Foundation
  4. Install it on your main account only
Answer

Save the file, because the add-on can run Python that changes or breaks the scene. The add-on executes code in the live Blender session. A saved file is your way back. It is also a third-party tool, so its README is the authority, not Blender's site.

Open this step in lesson mode · Link to this step · This confused me

11Where the apprentice picture breaks

Both sidesRemember: AI coding agents is a very fast apprentice who never says I do not know.

A human apprentice learns from a correction and remembers it tomorrow. Answer before you open the breakdown.

Where does it break?“A very fast apprentice who never says I do not know” is a good picture of ai coding agents. Where does it stop being true?

It breaks here. A human apprentice remembers a correction tomorrow and tells you when unsure, but an agent starts each session without yesterday's instructions and sounds equally sure when it is wrong, including about links and numbers.

The true model. An agent is a program that predicts plausible work from the text it is given. It has no memory between sessions beyond files it reads, and no sense of when it is wrong. Rules belong in a file in the repository, work belongs on a development copy, and every claim is checked against the artefact itself.

Yesterday you told an agent never to edit Config.luau. Today, in a new session, it edits Config.luau. What is the most useful fix?

  1. Write the rule in the repository's instructions file, which the agent reads at the start of every session
  2. Tell it more angrily
  3. Switch off the diff review
  4. Assume it will remember next time
Answer

Write the rule in the repository's instructions file, which the agent reads at the start of every session. A new session does not remember. Beacon Yard keeps its rules in a CLAUDE.md file at the top of the repository for that reason. Rules in a file are read every time, and they are reviewed in Git like code.

Open this step in lesson mode · Link to this step · This confused me

12Connect an agent to your Studio

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Assistant in StudioRoblox's built-in chat, with a screen capture helper and your own model keys as an option.Quick edits to the open place, explanations of selected code, and generating meshes and materials.It works inside the place, so its changes are not in Git until you export them. Procedural model generation has a daily cap.
Outside agent plus Studio MCPA coding agent in your terminal or editor that talks to Studio through the built-in server.Work that crosses code and the running game: read a script, change it, press Play, read Output.You must watch the permissions and keep the connection to trusted clients.
Outside agent on the filesAn agent that edits the repository, with Rojo syncing the result into Studio.Game code that lives in Git, as in Beacon Yard. Review is a normal pull request.It cannot see the running game unless you also connect Studio MCP.
Chat and pasteCopy code to a chat window and back by hand.One-off questions.No context, no tests, easy to paste the wrong version.

Build along

m05-the-round

  • src/shared/AiCheck.luau
  1. In Studio, open Assistant, the three dots, Manage MCP Servers, and turn on Enable Studio as MCP server.

    You should see The switch is on and the panel says how many clients are connected.

  2. Use Quick connect to switch on Claude Desktop (or add the Roblox_Studio JSON block to claude_desktop_config.json), then restart the client.

    You should see Claude Desktop (or your chosen client) shows a Roblox_Studio server in its tool list after a restart, and Studio shows a green connected indicator.

  3. Ask the agent to call list_roblox_studios.

    You should see The reply names your place and gives a studio id.

  4. Ask the agent to read game.ReplicatedStorage.Shared.Config with script_read.

    You should see The agent prints the Config script, and it matches src/shared/Config.luau in your repository line for line.

  5. Ask the agent to create src/shared/AiCheck.luau on disk, not inside Studio, with an idleObjective function that returns the Idle label. Then check git status.

    You should see git status shows one new file, src/shared/AiCheck.luau, and nothing else changed.

Open this step in lesson mode · Link to this step · This confused me

13Challenges

Level 1, Apprentice

Challenge

Connect a coding agent and prove it can see your place.

Start from
m05-the-round, Studio open

Done means

  • Studio's MCP panel shows at least one connected client
  • The agent lists your studio and reads one script with script_read
  • You can say which data model, Edit, Client or Server, you would use for a coin check

Hints

  1. Quick connect only lists clients that are installed. Install the client, then restart Studio.
  2. script_read takes a dot path such as game.ReplicatedStorage.Shared.Config.
  3. The coin grant happens on the server during Play.

Level 2, Builder

Challenge

Write the instructions that the next session will read first, and test them on a prompt that should be refused.

Start from
m05-the-round, with an agent connected to your files

Done means

  • A rules file at the top of your repository names three files the agent must not edit
  • It tells the agent how to check its work: the commands to run and the output that counts as done
  • A deliberately bad prompt, such as 'make coins easier', ends with the agent declining or asking first

Hints

  1. Name files that hold rules: Config.luau, CoinService.luau and DataService.luau are good candidates.
  2. List stylua, selene and the id guard from the CI lesson.
  3. If it edits a forbidden file, the rule is too vague. Rewrite it in one sentence.

The level 3 check wants a module that returns the Idle label. Why does it fail on the stock game?

  1. Shared.AiCheck does not exist until you create it, so nothing passes without your change
  2. The test is always red
  3. The Idle label does not exist
  4. Rojo blocks the file
Answer

Shared.AiCheck does not exist until you create it, so nothing passes without your change. The first check is that ReplicatedStorage.Shared.AiCheck exists as a ModuleScript. The stock game has none, so both checks fail until the change is made, as the habit from this lesson requires.

Level 3, Professional

Challenge

Get an assistant to write the module, then check it the way this lesson taught. Check out m14-ship for this challenge: the earlier m05-the-round tag has no course runner, so the command below only works from m14-ship on. The HUD excerpts above come from earlier tags and are reference only. Run it with game.ServerScriptService.RunGameTests:Invoke("ai-assisted-dev").

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("ai-assisted-dev") in the server command bar. Copy the pass code from Output.

Done means

  • src/shared/AiCheck.luau exists on disk and syncs to ReplicatedStorage.Shared.AiCheck
  • AiCheck.idleObjective() returns the Idle HUD label exactly, with no period
  • The diff is only that file, and no script writes Coins.Value
  • The ai-assisted-dev challenge prints TEST PASS for both checks

Hints

  1. Write your own prompt first, then read the diff before you accept it.
  2. Compare with the Idle line in Hud.luau, not with the toast.
  3. A script made only inside Studio disappears at the next Rojo sync. Create the file in src/shared.

Open this step in lesson mode · Link to this step · This confused me

14Recap

Retiring the analogy

You no longer need “a very fast apprentice who never says i do not know”. An agent is a program that predicts plausible work from the text it is given. It has no memory between sessions beyond files it reads, and no sense of when it is wrong. Rules belong in a file in the repository, work belongs on a development copy, and every claim is checked against the artefact itself.

Recap

  1. Assistant works inside Studio. The built-in Studio MCP server lets an outside agent read scripts, run Luau, press Play and save, and you decide how much it may do. Blender MCP and ComfyUI are separate tools for art.
  2. Trust the artefact, not the summary: read the diff, run a test that failed before, press Play, and open every link. This course's own failures were wrong captures, wrong links, tests that passed on stock and tools that behaved differently from the docs.
  3. An agent forgets between sessions. Put its rules in a file in the repository, keep it on a development game, and review its work like a teammate's.

AI coding agents is a very fast apprentice who never says I do not know, until a human apprentice remembers a correction tomorrow and tells you when unsure, but an agent starts each session without yesterday's instructions and sounds equally sure when it is wrong, including about links and numbers.

Next Debugging: breakpoints, the console, a method

Open this step in lesson mode · Link to this step · This confused me