# Building a Roblox Game With AI

Start to finish, for someone who has never done this. An empty Roblox project to a published game with an AI agent doing the typing: setup, prompts to paste, 3D models, sound, and how to spot when the AI is wrong.

Web version: https://t8.dev/guides/ship-a-roblox-game-with-ai/
Published 2026-07-27, updated 2026-11-17.

Every reader path is included. Blocks for one setup are marked ::: Windows · Terminal (and so on), and end at :::.

---

> I built **ShellShift** (live on Roblox, **TerraByteStudios**) this way: describe it in English, press Play, say what's wrong. It grew to four connected places and over 700 scripts, and my first 1,671 messages to the agent had no code in them. About half the work was catching the AI being wrong. This guide is the loop, plus the checks that caught it.

## Quickstart: a playable game a friend has tried

**This guide assumes you already work with an agent** in a project folder and can paste prompts into it. New to agents? Set one up with [The AI Master Guide](https://t8.dev/guides/the-ai-master-guide/) first, then come back. **Under 18?** Bring a parent in: AI plans have age rules and cost real money.

**Add the Roblox parts:**

1. **Roblox Studio.** Open it, pick **Baseplate**, then **File, Save to Roblox** (not Save to File) and give it your game's name. Studio calls each map of your game a **place**.
2. **The Roblox Studio MCP server.** MCP is an open standard for plugging tools into an AI agent. Roblox builds one into Studio: **Assistant, the "..." menu, Manage MCP Servers, Enable Studio as MCP server**, then go to **Assistant Settings, MCP Servers**, open **Quick connect**, and switch on your agent (Antigravity, Codex CLI, Claude Code, Claude Desktop, Cursor, Gemini CLI and Visual Studio Code are listed), then restart the agent. Not listed? Install it first, then restart Studio. Agents that never appear there (opencode, for one) take the JSON or command from Roblox's install page: `create.roblox.com/docs/studio/mcp`. Quick connect not working? Ask your agent to add the server from that page for all your projects, named `Roblox_Studio`. There's no plugin to install. Only connect agents you trust: they can read and change your open places.
3. *Later, optional:* Blender and Blender Lab's official MCP server (Blender 5.1+, blender.org/lab/mcp-server), for 3D models ([Building in Blender With an AI Agent](https://t8.dev/guides/blender-with-an-ai-agent/)).

::: Linux

**Linux:** Roblox's Studio setup page lists Windows and Mac (`create.roblox.com/docs/studio/setup`) and does not mention Linux. Plan on running Studio on a Windows or Mac computer. Your agent can run anywhere it can reach that Studio.

:::

### Step 1 · Get the project folder

Download it, don't build it: **`github.com/TerraByte-Dev/ai-roblox-starter`**, green **Code** button, **Download ZIP**. No GitHub account or git needed. Unzip (Windows often nests it: use the folder that directly contains `START-HERE.md`), **rename it to your game's name**, then restart your agent there: `/exit`, then `cd "<path to folder>"` and start the agent again.

It ships the four rooms ShellShift ran on (design, build, assets, ship), the standing rules, the feedback loop below, and `START-HERE.md` with five first prompts.

### Step 2 · Prove the connection, every session

With your place open in Studio, paste:

```text
Call list_roblox_studios and tell me the name and place ID of the place I have open. Tell me the exact tool you called and what it returned. If you don't have list_roblox_studios, say so: you're on the wrong server.
```

It should name **the place open in Studio** (the name you saved it under; Baseplate if you haven't saved it yet). Claude Code asks before each Roblox tool runs; allow the read tools and keep asking for `start_stop_play` and `save_place`. A list of tools proves nothing; only a real read proves Studio is attached. If not: check the green indicator under **Enable Studio as MCP server** (Assistant, "...", Manage MCP Servers; hovering **Assistant Settings, MCP Servers** lists the connected agents), make sure the place is open, then restart Studio and **fully restart the agent**: type `/exit` (or close the window), start it again in the same folder, and paste the read test again.

**Do it at the start of every session, and after any hiccup.** Studio restarts more often than you'd think: it updates itself (your agent then needs one restart before it can reach Studio again), and it can drop mid-task. Mine once dropped while two agents were halfway through a job, and both had to recheck their unfinished work. **A dead connection looks exactly like broken code,** so don't debug the game until the read test passes.

### Step 3 · Smallest playable version

In every prompt below, swap each `<...>` for your own words, brackets included. Example: *I want to make an obstacle course in Roblox. Build me the smallest version I can play right now: one platform with ten jumps and a checkpoint.*

```text
I want to make <your idea> in Roblox. Build me the smallest version I can play right now: <one map, one core action>. Nothing else yet: no menus, no scoring, no art. When you're done, tell me what to look for when I press Play.
```

::: New to this

**New to this:** if `<your idea>` is blank on your screen, here is the prompt filled in:

> I want to make an obstacle course in Roblox. Build me the smallest version I can play right now: one straight platform with ten jumps and a checkpoint halfway. Nothing else yet: no menus, no scoring, no art. When you're done, tell me what to look for when I press Play.

:::

**Write it for your idea.** Fill in a few boxes and this writes the Step 3 prompt for you, or one of the prompts from further down. Paste the result into your agent.

```text
I want to make ‹idea› in Roblox. Roblox Studio is connected and we are working in this project folder.
The one thing the player does: ‹action›
The part I am least sure will work: ‹risk?›
Leave alone: ‹avoid?›

‹task›

Keep what you learn in ‹map›, so a new session can pick it up cold.
```

Replace each ‹…› in the prompt above:

- ‹idea›: What do you want to make? For example: an obstacle course.
- ‹action›: What does the player do in it? For example: jump across ten platforms to a checkpoint.
- ‹risk›: The part you are least sure will work (optional). For example: whether the jumps feel fair on a laggy connection. Leave out its line if empty.
- ‹avoid›: Anything to leave alone (optional). For example: do not touch the baseplate terrain. Leave out its line if empty.
- ‹task› (What should it do now?): one of:
  - Smallest playable version: Build me the smallest version I can play right now: one map and the one action above. Nothing else yet: no menus, no scoring, no art. When you are done, tell me what to look for when I press Play.
  - Design it first: Before we build, design this properly. Ask me questions first, as many as you need, then write it up as 01-design/GAME.md. RESEARCH how real games like this handle their hardest system; keep it grounded, no inventing. Cover the core loop, what a brand-new player does in the first 20 seconds, and how a session ends. Then critique it as three critics: can one person build this, is it fun, does it contradict itself? Give me a numbered cut list and one test that proves the first version is fun.
  - Prove the risky part first: Build a throwaway place whose ONLY job is to prove the part I am least sure about: no menus, no art. I will try it under bad conditions. Print the measurement at the end; I want a NUMBER, not "it works". Log what it showed in 02-build/TIMELINE.md.
  - Check what was just built: You are the checker, not the builder. Another session just built this. Do not trust its report. Using checks you write yourself, try to break it: cheating, edge cases, two players at once, someone leaving halfway, a phone screen. Re-check every claim in its report a different way. For each check, first show it FAILS on the version before the change. List only problems you confirmed, then fix them one at a time.
- ‹map›: CLAUDE.md if you use Claude; AGENTS.md for Codex and other agents.

**Press Play and say what's wrong.** One broken minute of play teaches more than an hour of planning.

### Step 4 · Publish it and get one person in by day 2

ShellShift's first published version was one gun, one bot and a grey box arena. One friend played it over a real connection and said *"that was epic."* That session told me to keep going; Studio's Play button never could. You do this part by hand:

1. **File, Publish.** The first time, Studio walks you through creating the experience.
2. **Invite one friend as an early tester:** **File, Invite early testers** (or **Manage Collaborators**, top right of Studio), search their name, **Invite** (Studio may ask for an age check; up to 10 friends around your age). Testers can play but not edit, and nobody else gets in until you open the game up.
3. Both of you play the **published** game, and you write down what's wrong.

```text
I'm about to publish for the first time. Don't do it yourself. Give me a numbered list of exactly what to click to publish this and let one friend play it as an early tester. Then tell me the three things my friend should try first.
```

## Who Does What

**The AI** builds, checks the code is shaped right, and writes your test list.

**You** press Play, publish, approve anything it wants to delete, change the few settings only the Properties panel can, and **judge how it feels.** No AI can tell you the gun feels weak or the jump is floaty.

Roblox's server lets the agent start playtests and save the place, so decide what it may do and put that in the rules file. Mine: **the agent never presses Play, Save or Publish. I do,** because I publish all my places together and only I can judge the feel. Judge the look yourself too: the agent's screenshots came back black or blank at least ten times in my log, mostly when Studio wasn't the window in front.

**"Compiles" is not "works."** 346 of the 384 entries in my build log carry a note like *"edit mode; not saved / published / playtested."* That one line tells you exactly what is still unproven.

**Make every task end with a test list you can follow:** the exact keys to press and what you should see. Mine look like *"Double-tap Shift and hold the left mouse button: no shots during the sprint; it fires about 0.3 s after."* Cap it at 8; on a list of 18, nobody tests the last ten.

**Paste errors whole.** Errors show up as red text in Studio's **Output** window; copy all of it into the chat. It names the script and line that broke. **If an edit seems to do nothing,** restart the playtest; in my experience a running game keeps the version it already loaded.

```text
From now on, end every task with three things: (1) what you changed, one line each; (2) what you could NOT check: say whether you saved, published or playtested; (3) a numbered "Live checks" list, at most 8, each one the exact keys I press and what I should see if it worked.
```

## The Loop

1. **Describe** what you want. The agent builds it.
2. **Publish** (File, Publish) and **play the published game**, alone or with your tester.
3. **Write down what's wrong** while you play, not after.
4. **Hand the list back.** Repeat.

**Batch what you notice.** Play with `02-build/FEEDBACK.md` open and write scruffy bullets under the newest round. Don't stop to send:

```markdown
## Round 3
- Slugger one-shots way past close range. Should fall off hard after ~58 studs.
- I can still shoot during the buy phase. Shouldn't be able to.
- Swapping resets my camera to face north. Keep my look direction.
```

Then send one message: **`Read FEEDBACK, iterate.`** The starter's rules make the agent give each bullet an ID and a status (`open`, `done`, `question`, `verified`, `cut`), tick it off with one line, ask instead of guessing, and log the round in `TIMELINE.md`. **`FEEDBACK.md` is the ledger** (items change status, nothing is deleted). **`TIMELINE.md` is the story** (append-only, newest on top).

## The Two Lies You'll Be Told

**Lie 1: "executed successfully."** Success only means the agent's code ran. If that code caught an error and printed it, the tool still reports success; and in my builds, a call that reported failure had often gone through anyway (last table row). Read what actually came back, not the label.

**Lie 2: "done."** The builder grades its own homework. A separate checker cut the builder's "12.5 seconds faster" claim to about 6. A map clean-up pass reported finished; a check written a different way found **406 gaps it had missed.**

**The fix: a second AI that attacks the work.** After every feature, start a **fresh session** of any agent (quit and relaunch it, or open a new chat in the desktop app) so it hasn't seen the builder's chat, then paste the checker prompt below. In my log the checker almost always found one to three real bugs the builder had marked done.

**Make it prove its tests.** A test that also passes on the old, broken version proves nothing. Run it on the version before the change first: it should fail the way you saw.

**Press F9 in a running game** for the developer console: every print, error and warning. Report values, not symptoms.

::: macOS

**F9 does nothing?** Type `/console` in the game chat, or open the Roblox menu, then **Settings**, scroll to **Developer Console**, and click **Open**.

:::

```text
You are the checker, not the builder. Another session just built <feature>. Don't trust its report. Using checks you write yourself, try to break it: cheating, edge cases, two players at once, someone leaving halfway, a phone screen. Re-check every claim in its report a different way. For each check, first show it FAILS on the version before the change. List only problems you confirmed, then fix them one at a time.
```

```text
Don't tell me it ran. Tell me what it actually returned, and what I should SEE on screen when I press Play.
```

**Can't see why something fails?** Make it show you:

```text
I can't work out why <thing> isn't working. Add print statements showing <the values you care about> at each step so I can watch them in the console while I play. Tell me exactly what I should see if it's working. Take the prints back out when we're done.
```

## The File Your Agent Always Reads

Your agent reads its map file (`AGENTS.md`, or `CLAUDE.md` for Claude Code) at startup, before you type a word. That is where standing rules live. The starter ships both with the same rules; when you change one, have the agent copy the change into the other.

**Long chats get squashed.** When the conversation fills up, the agent summarizes older messages and details fall out. My chats were squashed 36 times in 18 days, about every 46 messages. Structure beats a note: a log format written once at the top of my build log held for 1 entry in 19, while files with blanks the agent had to fill in held 97 of 97. **Anything you've said twice becomes a rule in the file.**

**It loads at startup.** After you edit it, restart the agent (type `/exit`, then relaunch) so it reads the new version. Keep it under a page: a rule buried on page four is a wish.

**Change direction, change the file the same day.** My biggest change of plan came up 112 times in my messages and 0 times in the startup file, so every new session started out of date.

```text
Fill in the "Decisions already made (don't re-ask)" section of AGENTS.md and CLAUDE.md; add it to both if it isn't there. Use what we've settled so far, one line each, at most 10 lines. When I settle something new, add it in the same reply.
```

::: I already code

**I already code:** the agent writes the Luau and you review it. Put your conventions in the map file as standing rules (script layout, naming, how remotes get validated), and end each request with `Show me the diff of every script you changed before I press Play.` You spend your time reading changes, not retyping them.

:::

## Say It So It Lands

**Short asks, one idea each.** My typical build message was about 149 characters. The plan lived in files the agent re-read, not in my message.

**Turn feel into a number.** "More recoil" failed three times; it landed only when I named what was wrong: the recoil reset to the center after every shot. For fire rate, I opened my phone's stopwatch, pictured the gap between shots (about 0.4 s for the pistol), and the agent turned that into numbers.

**Make it write down how it read you.** I once said "reduce it by 150%," which can't literally mean anything. It recorded my words and its reading (×0.4 of the original), so a wrong guess could be caught.

**After the second "still broken," paste values.** One skin bug survived about ten reports over two days. It was fixed one turn after I pasted the raw values from the console.

**Show, don't describe.** For maps, I dropped plain blocks where I wanted things (**Home** tab, **Part**) and renamed each in the Explorer to say what it should become, like `Build_Stairs`. The agent built the real thing and deleted my blocks. Say whether they should end up solid and visible: one of my own Studio plugins once turned all my walls invisible.

**Pushback is a feature.** One agent refused a request that would have deleted a core move and left the call to me. Let it argue.

```text
<how it feels, in your words>. Before changing anything, write down how you read that as a number (for example "x0.4 of now"), show me the before and after values, then change only that.
```

```text
I placed parts in Workspace named Build_<what>, like Build_Wall or Build_Stairs. Read each one's name, size and position and build real geometry that matches the intent. Keep everything solid and visible unless the name says otherwise. Then delete my placeholder parts and list what you built.
```

## Design Before You Build

**Make it interview you.** Told to ask questions first, an AI surfaces what you hadn't decided instead of filling the gap with the most average answer.

**Make it research, then argue.** "Find out how real games solve this, keep it grounded" beats "design this." Then have it attack the design as three critics: can one person build it, is it fun, does it contradict itself. An AI asked to please you says your idea is great.

**Feature soup is the default.** Letting the AI keep adding systems gave one of my places 4 currencies and 10 claim pads, and I wasn't in love with any of it. The fix was one loop and one wallet.

**Prove the risky bit first.** Build a throwaway test of the one thing your game leans on, and ask for a **number**. ShellShift's idea was swapping between two bodies, so the first session proved only that: **swap confirmed in 66 ms plus your ping**, steady as ping got worse. That was the go.

**Parallel drafts contradict each other.** Five agents drafting one economy gave me three level curves and three names for one currency. Finish with a pass whose only job is to list contradictions.

**Borrow ideas, never assets, names or exact layouts.** Don't name the game that inspired yours on your page or in ads.

```text
Before we build more, design this properly. Ask me questions first, as many as you need, then write it up as 01-design/GAME.md. The game: <one paragraph>. RESEARCH how real games in this genre handle <your hardest system>; keep it grounded, no inventing. Cover the core loop, what a brand-new player does in the first 20 seconds, and how a session ends. Then critique it as three critics: can one person build this, is it fun, does it contradict itself? Give me a numbered cut list and one test that proves the first version is fun.
```

```text
Build a throwaway place whose ONLY job is to prove <your riskiest thing>: no menus, no art. I'll try it under <the bad conditions>. Print the measurement at the end; I want a NUMBER, not "it works". Log what it showed in 02-build/TIMELINE.md.
```

## Assets: Numbers, Not Files

Models, images and sounds all work one way: you upload a file, Roblox hands back **a number**, and code uses the number. Lose the list and the files are unreachable. And never let the agent invent one: mine did.

```text
Whenever I give you an asset ID, add a row to 03-assets/assets.md: name | id | what it is | where it's used | today's date. Use the name in code, never the bare number. If you need an asset that isn't listed, stop and ask me. Never invent an ID.
```

**New uploads look broken at first.** They wait in moderation (Roblox says usually a few hours), so upload a day early, and give files boring names: Roblox filters asset names, and one that comes back as #### needs plain words. **New sounds also play silent unless the game's owner owns them** (or you grant the game access in Asset Privacy). "My sound doesn't work" is usually one of these two.

**A Decal ID is not an Image ID.** Upload a picture as a decal and image labels need a different number; pasting the decal number into the property in Studio converts it.

**Free models can carry malware.** Two free models I inserted hid a script and a fake "command bar" window built to trick me. Have the agent list every script inside anything you insert.

**Images and sound:** describe what it's **for**, what it must **not** have, and where it will be **seen**. Keep the briefs in files (`03-assets/`) so forty assets look like one set. Check each tool's licence before using it in anything that earns money, and write down where every file came from. Music the Toolbox lists as **by Roblox** is for use on Roblox only; for a trailer, use music you made or have the rights to.

**3D via Blender is hit-or-miss.** Put a **5-stud player dummy** in every scene and make the agent compare every new object to it: even with one in my scene, a detail pass that skipped the check gave me cheese about 195 studs big. Check part counts on anything an AI tool generates (one fern generated in Studio came out at 1,258 parts). Export **.fbx** or **.gltf**, then **File, Import**; in my builds FBX sometimes came in rotated or the wrong size, so check the Importer's Scale Unit first. The [Building in Blender With an AI Agent](https://t8.dev/guides/blender-with-an-ai-agent/) guide walks the whole loop.

**Screens:** size everything in **scale, not pixels**, assume a phone held in two hands, and keep important UI clear of Roblox's top bar. The starter's rules carry the details.

## When the Game Gets Big

**One system, one script.** Have the agent keep each system (guns, shop, saving) in its own script. Code has hard size limits per function (luau.org/compatibility), and Roblox won't let code replace a script's whole text once it reaches 200,000 characters, which is how my agent updated scripts. My main server script sat at 198,054 bytes, so every new line had to be paid for by deleting comments. My lobby, built one-system-one-script from the start, never came close. On an "Out of local registers" error, the agent's quick fix was turning locals into globals. If you see it, paste:

```text
Split this into smaller functions and scripts. Don't turn locals into globals.
```

**Every risky change is one switch away from undone.** Put each new feature behind an on/off switch where off means the old game exactly. **Version History** restores an earlier version; publish it, then restart servers, to put it live.

```text
Put this feature behind an on/off switch I can flip in Studio. Off must mean the game works exactly like before. Tell me the switch's name.
```

**Save is not Publish.** Ctrl+S saves for you; **File, Publish** updates the live game. "I swear I fixed that" is usually saved, never published, or old servers still running: restart them from the Creator Hub's **Server management** page. Reopen from the Creator Dashboard (Edit in Studio) or the Studio start page, not a local file.

**Several places** (lobby plus match): the **first place you make is the start place**; changing it later takes an Overwrite, so make the lobby first. Studio can have several places open and the agent can reach all of them, so name the place in every request and have it run `list_roblox_studios` and confirm which one it will change. The ids change whenever Studio restarts, so it lists them again after every restart. If two places save player data, **merge on save, never overwrite** (an old server once saved over a live profile and wiped owned skins), and never copy a shared script whole from one place to another: a friend lost progress when I did.

**Fix lag before you ask for feedback.** My puzzle place grew to 31,455 parts and 829 lights. One minimap function searched the whole world twice a frame and capped it near 12 fps; a one-line cache removed that cap. My budget after: under 4,000 parts and 60 lights per room. Spinning decorations belong on the player's device: six coins spun by the server cost about 20 KB/s per player.

**Keep backups on disk, not in the game.** 820 script backups inside one place added 28.1 MB that every server loaded.

```text
The game lags. Don't add anything yet. Count parts, enabled lights, and code that runs every frame. Find anything that searches the whole Workspace, rebuilds UI every frame, or moves decorations from the server. Rank fixes by milliseconds saved, change nothing visual, and give me Live checks to confirm it.
```

## The Ten Minutes That Protect You

AI code copies the shape of working code, **including the shape that forgot to check anything.** In ShellShift, a player could send "NaN" (a broken not-a-number value) as an aim angle. The server accepted it because NaN technically counts as a number, and the broken hitbox swallowed every bullet on the map. Run this before strangers play:

```text
Audit this game as if you were trying to cheat at it. List every RemoteEvent and RemoteFunction and what the SERVER validates on each (type, range, NaN and infinity, who's allowed, how often). Is the server deciding damage, money and unlocks? Show me where. Flag any loadstring or getfenv. List every Script inside models I inserted from the Creator Store. What could a client send to get something free? Give me a list to fix one at a time.
```

**Never trust the player's device.** It can be made to say anything; the client only asks, the server decides. **Rate-limit every button that talks to the server:** one cheater sending 60 a second is 3,600 requests a minute.

**Only once you sell anything:** give the item only after the save succeeds, never twice for one purchase, and never sell power. Mine sells looks and time-savers only, nothing that changes a fight. If you sell random rewards, show the odds before the player pays, and have the server check Roblox's `PolicyService` so players in places where paid random items are restricted can't buy them.

```text
Before I sell anything: show me the purchase-receipt code. Prove it only reports a purchase as granted after the player's data saved, never grants twice for the same purchase ID, and that nothing for sale changes damage, health or speed.
```

## The First Minute Decides Everything

My first ad run was small: $5 a day for a week. Of the first 21 players it brought in, **10 left before their first kill.** From joining a match to the first possible kill took about 50 seconds, most of it waiting to be allowed to shoot. A small sample, but enough to find the leak.

**The fix was speed, not features.** In my timing test of the new first match, time until a new player could shoot dropped from 36.7 to 14.9 seconds. Then the step-by-step numbers showed my tutorial tour was the biggest drop, so I cut it: *"Let players figure the game out."*

**Log the steps** (joined, did the core action, first win, finished one round, came back) and you can see the second you lose people. These events only record in the published game, not in Studio.

**Deliver what your thumbnail promises within about 20 seconds,** and only advertise what is really in the game. My first ad thumbnail got 1.7% of viewers to click; give each version about 5,000 views before picking a winner.

**Empty servers kill multiplayer games.** Fill empty seats with bots and let real players replace them.

```text
Add onboarding funnel events for a brand-new player, logged once each from the server: joined, did <the core action> for the first time, first <win / kill / goal>, finished one round, came back for a second visit (fire that one only on the second visit). Use AnalyticsService:LogOnboardingFunnelStepEvent. Tell me where to read them on the Creator Hub, and time how many seconds a new player waits before they can do <the core action>.
```

## For Your Agent

*If you're an AI agent walking someone through this guide:*

1. **Check before step 1:** ask which folder you're running in. If it isn't the starter folder yet, do Step 1 first and save this guide into it as `GUIDE.md` before they restart you, so the new session can continue from "Read GUIDE.md, we're at Step N". Roblox Studio (Windows or Mac) has a place open; Roblox's official Studio MCP server, built into Studio, shows green under Assistant, "...", Manage MCP Servers. Roblox's setup names it `Roblox_Studio`, running `%LOCALAPPDATA%\Roblox\mcp.bat` on Windows or `RobloxStudio.app/Contents/MacOS/StudioMCP` on Mac; its tools include `list_roblox_studios`, `script_read`, `multi_edit`, `execute_luau`, `start_stop_play` and `save_place`. Tools such as `get_place_info`, `run_code` or `create_build`, a `robloxstudio-mcp` package, or a plugin in Studio's Plugins tab mean a community server or the archived studio-rust-mcp-server. Say so, and with their OK remove it (Claude Code: `claude mcp remove <name> --scope user`) so only the official server remains. Under 18: a parent joins. Ask; don't assume.
2. **One step at a time:** do or explain one step, show the result, wait for them before the next.
3. **Official sources win:** if a menu, command or tool name doesn't match what you see, check create.roblox.com/docs/studio/mcp and create.roblox.com/docs, tell them what changed, and follow the docs. If the starter folder names a tool your server lacks, use this guide's wording.
4. **Ask before anything they can't undo:** installs, deleting parts or scripts, Play, Save, Publish, inviting testers, spending Robux or ad money, game or account settings.
5. **Prove each step:** the Step 2 read test names the open place; every task ends with Live checks (at most 8); the checker runs in a fresh session; the cheat audit runs before strangers play.
6. **Make it stick:** standing rules go in `AGENTS.md` / `CLAUDE.md`; save prompts they reuse as files in the starter folder ([The AI Master Guide](https://t8.dev/guides/the-ai-master-guide/) shows the pattern).

## When Something Makes No Sense

| Symptom | Cause | Fix |
|---|---|---|
| Studio tools fail, or answer from the wrong place | MCP is off, Studio updated or restarted, or the agent kept an old Studio id | check the green indicator; restart Studio and the agent; rerun the read test |
| AI says everything is empty, game plays fine | its check ran in the editing copy | start a playtest; have it check on the Server or Client side, not Edit |
| Part exists, players can't see it | streaming is on by default; far-away parts load late | tell the agent: "make client scripts wait for parts with WaitForChild" |
| Player changes something, other players never see it | changes made on a player's own device stay there | tell the agent: "the device asks; the server makes the change" |
| New image blank or sound silent | moderation, wrong owner, or a decal ID | wait; check owner and Asset Privacy; use the Image ID |
| "I fixed it" but players still see the bug | saved, not published, or old servers | File, Publish; restart old servers |
| Tests pass, live game breaks | it only happens on a live server with real players | trace the live path; you test it published |
| Saving does nothing in a Studio playtest | Studio can't reach saved data by default | on a test copy: File, Experience Settings, Security, turn on Studio Access to API Services |
| "Out of local registers" or "Out of registers", or a big script won't save | a function or script is too big | split it; never turn locals into globals |
| "Target is not reachable" or a timeout, but things changed anyway | in my builds, calls over about 2 s often finished after the error | check before you retry; one short step per call |
| Studio's camera won't move after the agent worked | in my builds, its calls left it set to Scriptable | Workspace, Camera: set CameraType to Fixed |

*The starter folder's rooms follow ICM, Interpretable Context Methodology: Van Clief & McDermott (2026), arXiv:2603.16021. Learn it: skool.com/cliefnotes*

## Sources

- https://github.com/TerraByte-Dev/ai-roblox-starter
- https://github.com/TerraByte-Dev/ai-roblox-starter/blob/main/AGENTS.md
- https://create.roblox.com/docs/studio/mcp
- https://devforum.roblox.com/t/studio-mcp-multi-agent-improvements-and-connected-ai-clients/4820583
- https://modelcontextprotocol.io
- https://code.claude.com/docs/en/memory#agents-md
- https://code.claude.com/docs/en/memory
- https://create.roblox.com/docs/production/publishing/publish-experiences-and-places
- https://create.roblox.com/docs/studio/importer
- https://create.roblox.com/docs/studio/developer-console
- https://create.roblox.com/docs/projects/assets
- https://create.roblox.com/docs/workspace/streaming
- https://create.roblox.com/docs/scripting/events/remote
- https://create.roblox.com/docs/scripting/security/security-tactics
- https://arxiv.org/abs/2603.16021
- https://www.skool.com/cliefnotes
- https://create.roblox.com/docs/studio/setup
- https://create.roblox.com/docs/projects/update-games
- https://create.roblox.com/docs/projects/version-history
- https://create.roblox.com/docs/projects/assets/privacy
- https://create.roblox.com/docs/scripting/security/third-party-vulnerabilities
- https://create.roblox.com/docs/cloud-services/data-stores
- https://create.roblox.com/docs/production/analytics/funnel-events
- https://create.roblox.com/docs/production/monetization/paid-random-items
- https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#ProcessReceipt
- https://github.com/luau-lang/luau/blob/master/Compiler/src/Compiler.cpp
- https://code.claude.com/docs/en/context-window
- https://www.anthropic.com/legal/consumer-terms
- https://create.roblox.com/docs/studio/output
- https://projects.blender.org/lab/blender_mcp
- https://code.claude.com/docs/en/mcp
- https://code.claude.com/docs/en/permissions
