AIgamer
Sign in
🏠Home📰News🧰Resources🎮Games📘Guides🏆GOTW
📰News🧰Resources🎮Games📘Guides🏆GOTW
Get the weekly emailSign in
AIgamer
🏠Home📰News🧰Resources🎮Games📘Guides🏆GOTW
New storiesWeekly roundupsTopicsSubmit your gameSubmit your toolHow we report
Get the weekly email

🏆AI Game of the Week

WK 47

Slotbound

Play it

Made a game with AI? Submit it for next week

✉️Weekly email

The week's top stories and the AI Game of the Week, every Monday. Free.

📘Guides

  • How to make Roblox games with Claude Code (2026)
  • Does GTA 6 have AI NPCs? What Rockstar has said, and where AI NPCs really exist
  • How to turn a mobile game ad into a real, playable web game
  • Best AI 3D model generators for games in 2026
  • How to use AI in Blender
All guides →
AIGamer: the front page for people making games with AI.
Weekly roundupsSubmit your gameSubmit your toolHow we reportContactLinkedInX (@aigamergg)PrivacySubmission terms

Home › Guides

Guide

How to make Roblox games with Claude Code (2026)

Connect Claude Code to Roblox Studio with Script Sync and the built-in MCP server, give it your rules and one skill pack, then build and playtest one feature at a time.

By Hitesh K · Last checked 27 November 2026 · 8 min read

Image: Roblox

Key points

  • Connect Claude Code to Studio twice: Script Sync for your Luau files and Studio's built-in MCP server for building and playtesting.
  • Write your game's rules in CLAUDE.md, add one Roblox skill pack, and build one small feature at a time with a playtest after each.
  • Commit with Git before every session; Studio's MCP tools save but never publish, so releasing the game stays with you.

In this guide

  1. What you need
  2. Step 1: Put your scripts where Claude Code can edit them
  3. Step 2: Connect Claude Code to Studio with MCP
  4. Step 3: Check that both connections work
  5. Step 4: Give Claude Code your project's rules
  6. Step 5: Build in small, playtested pieces
  7. Which Claude model is best for Roblox?
  8. Keep the agent from breaking your game
  9. Other ways to use Claude with Roblox
  10. FAQ

To make a Roblox game with Claude Code, connect Anthropic's coding agent to Roblox Studio in two ways. Script Sync puts your Luau scripts in a folder on your computer that Claude Code can edit, and Studio's built-in MCP server lets Claude see the place, run code and playtest. Then build the game in small pieces and check each one in Studio before moving on.

Roblox now publishes its own guide to this setup, "Build with a coding harness", last updated on November 24, 2026. This guide follows its steps and adds what to install, which skills and model to use, and how to keep the agent from breaking your game. Everything here was checked on November 27, 2026. AIGamer hasn't built a full game this way.

What you need

  • Roblox Studio, free for Windows and Mac, signed in with your Roblox account. Install the latest version: Roblox updates Studio often, and the AI features below need it.
  • A paid Claude plan. Anthropic's setup docs say Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account, and the free Claude plan doesn't include it. Pro costs $20 a month (checked on Anthropic's pricing page on November 22).
  • An editor, if you want one. Roblox's guide uses VS Code with the Claude Code extension, or Cursor. Claude Code also runs on its own in a terminal.
  • Git, so you can undo anything the agent does. Roblox's guide gives brew install git for Mac and winget install --id Git.Git -e --source winget for Windows.

To install Claude Code, Anthropic's docs give these commands:

# macOS
curl -fsSL https://claude.ai/install.sh | bash

# Windows (PowerShell)
irm https://claude.ai/install.ps1 | iex

Then run claude in a terminal to sign in, and claude --version to check it installed.

Step 1: Put your scripts where Claude Code can edit them

Script Sync mirrors scripts in Studio to files on disk and back, so Claude Code edits ordinary .luau files and Studio picks up the changes.

  1. Make a project folder and save your place into it (File > Save to File). Roblox's starter project adds the .rbxlx place file to .gitignore, so Git tracks only your scripts.
  2. Roblox's coding-harness guide says to turn on the Script Sync beta first (File > Beta Features, then restart Studio). If you can't find it, update Studio.
  3. In the Explorer, right-click ServerScriptService, choose Script Sync and pick your project's top-level folder (not a folder inside it). Repeat for ReplicatedStorage and StarterPlayerScripts. The coding-harness guide calls the menu item "Sync to"; Roblox's Script Sync page calls it "Sync with Directory…".

File names tell Studio what each script is:

FileBecomes
name.server.luauA server Script
name.client.luauA client Script
name.luauA ModuleScript
A folderA Folder

Script Sync only handles scripts and folders. Roblox's docs warn that scripts with attributes or tags are ignored, which can lose data, and that you should choose Stop Sync before deleting a synced folder on disk. If you want the whole place under version control, not just its scripts, Roblox's docs point to third-party tools such as Rojo instead.

Step 2: Connect Claude Code to Studio with MCP

MCP (Model Context Protocol) lets an agent call another program's tools. Studio's MCP server reaches the parts of a game that Script Sync can't, such as StarterGui and StarterPack, and lets Claude play the game.

  1. In Studio, click Assistant at the top right, then ⋯ > Manage MCP Servers.
  2. Turn on Enable Studio as MCP server.
  3. Open Quick connect and turn on Claude Code. If it isn't listed, install Claude Code and restart Studio.

To add it by hand on a Mac instead, run:

claude mcp add Roblox_Studio -- /Applications/RobloxStudio.app/Contents/MacOS/StudioMCP

On Windows, Roblox's docs give the command cmd.exe with the arguments /c %LOCALAPPDATA%\Roblox\mcp.bat. Run claude mcp list to check the server shows as connected. If it doesn't, our guide to Roblox Studio's MCP server has the fixes.

Studio's MCP docs list 30 tools. The ones Claude uses most when building a game:

ToolWhat it does
script_read, multi_edit, script_grepRead, edit and search scripts
search_game_tree, inspect_instanceExplore the place and its objects
execute_luauRun Luau in Edit mode, or on the client or server during a playtest
start_stop_play, get_console_outputStart and stop playtests and read the output
screen_captureTake a screenshot, or record video during a playtest
character_navigation, user_keyboard_input, user_mouse_inputMove the test character and press keys like a player
generate_mesh, generate_material, generate_animation, insert_assetMake or insert art
save_placeSave, with a note for version history; it never publishes

Step 3: Check that both connections work

Roblox's guide ends setup with a short test, worth doing before you build anything:

  1. Ask Claude to list what's in the Workspace. A new Baseplate place should show Camera, Terrain, Baseplate and SpawnLocation. Claude Code may ask you to approve the tool first.
  2. Ask it to create ServerScriptService/Test.server.luau that prints a message, and check that Test appears in Studio's Explorer.
  3. Ask it to start a playtest, read the output for the message, stop the test and delete the script.
  4. Commit: git add . then git commit -m "Script Sync and MCP working".

Step 4: Give Claude Code your project's rules

Claude Code reads a CLAUDE.md file in your project folder at the start of every session, according to Anthropic's docs. Use it for what the agent should always know about this game:

  • One paragraph on the game and what you're building next.
  • Which folders are synced and the file naming rules above.
  • Your rules, such as "keep game logic on the server", "playtest after every change" and "never publish".

Roblox's starter project does the same job with a design document, WAVE_SURVIVAL.md, that you point the agent to.

For Roblox know-how, add one skill pack (a set of instructions the agent loads when a task needs them):

  • Roblox Skills (MIT) has 40 Claude Code skills, from first idea and Luau structure to DataStore saving, security, monetization and live updates. Its setup skill writes a map of the skills into your CLAUDE.md.
  • Scenario's Roblox Studio skills are a lead skill and 13 specialists that drive Studio through the MCP server. Their README says every procedure was run live in Studio.
  • Studio's MCP server also has a skill tool that returns Roblox's own reference material.

Install one pack rather than several, so the agent doesn't get competing instructions. Our guide to engine skill packs explains where skills go and how to install them.

Step 5: Build in small, playtested pieces

Coding agents do best with one small, checkable job at a time. A loop that works with these tools:

  1. Ask for a plan first. Describe the next feature (a round timer, a wave spawner, a shop button) and ask Claude to say what it will change before it edits anything.
  2. Let it build that one piece. Scripts change through Script Sync; UI and objects change through MCP.
  3. Make it playtest. Ask Claude to start a playtest, move the character or press keys, read the console and take a screenshot. For movement, animation or timing, ask it to record a short video with screen_capture; Roblox keeps screenshots as the default because they cost much less.
  4. Check it yourself, then have Claude save with save_place and a short note, and commit with Git.

Repeat for each feature. If a change goes wrong, git checkout puts the scripts back.

Which Claude model is best for Roblox?

Roblox's OpenGameEval leaderboard on GitHub tests models on 87 tasks inside Studio. Claude Fable 5 leads with 51.09% of tasks solved on the first attempt, ahead of Gemini 3.5 Flash (49.03%) and Claude Opus 4.6 (48.05%), according to the leaderboard on November 27. Fable 5 also leads its separate set of 30 debugging tasks, at 66.09%.

So Claude is among the strongest models at Roblox work, but even the best fails about half the tasks on the first try. Plan for that: small pieces, playtests, and a human check before anything ships. In Claude Code you can switch models with /model. More on the benchmark in our OpenGameEval story.

Keep the agent from breaking your game

  • Commit before every session. Git is the undo button for anything the agent does to your scripts.
  • Connect only agents you trust. Roblox's MCP docs warn that connected clients can read and change your open places.
  • Publishing stays with you. save_place never publishes, and Studio's own MCP tools can't publish yet. The separate open_cloud_invoke tool can publish place versions if you give it high-risk Open Cloud permissions, so leave those off unless a task needs them.
  • Watch which window it edits. With several Studio windows open, ask Claude to run list_roblox_studios and choose the right one.
  • Keep approvals on until you trust the setup, so Claude Code asks before running tools that change your place.

Other ways to use Claude with Roblox

  • Inside Assistant. Roblox Studio Assistant can use Claude through your own Anthropic API key (Assistant > … > Manage API Keys), with no setup outside Studio. Anthropic bills you for the API use.
  • Baseplate. Baseplate is a desktop app that runs your own Claude Code, Codex or Cursor against your game files and Studio, with playtests and a change review. It was free for one agent at a time, with Pro at $4.99 a month, when we checked on November 23.
  • Other agents. The same Script Sync and MCP setup works with Codex, Cursor and Gemini CLI.

FAQ

Can Claude Code make a Roblox game?

Yes, with Script Sync and Studio's MCP server connected, Claude Code can write Luau scripts, build UI and objects, generate meshes and animations, and playtest the game. Roblox publishes a step-by-step guide to this setup. Expect to build feature by feature and check its work, not to get a finished game from one prompt.

Is Claude good for Roblox coding?

It's one of the strongest models on Roblox's own benchmark. Claude Fable 5 tops the OpenGameEval leaderboard with 51.09% of 87 Studio tasks solved on the first try. That still means about half fail first time, so test every change.

What are the best Claude skills for Roblox Studio?

The two main packs are Roblox Skills (40 skills, from planning to live updates) and Scenario's Roblox Studio skills (a lead skill and 13 specialists tested live in Studio). Studio's MCP server also has a built-in skill tool with Roblox's own reference material. Pick one pack.

Do I need Rojo?

No. Script Sync, built into Studio, is the route Roblox's coding-harness guide uses. Rojo is a third-party tool for keeping a whole project in files and under version control, which Roblox's docs suggest for larger projects.

Does it work on Windows?

Yes. Claude Code installs on Windows with PowerShell or WinGet, and Studio's MCP server runs from %LOCALAPPDATA%\Roblox\mcp.bat. Anthropic recommends Git for Windows.

Can Claude publish my Roblox game?

Not through Studio's own MCP tools: save_place saves a version but never publishes. Only the Open Cloud tool can publish, and only if you grant it high-risk permissions.

Sources

Compiled by AIGamer from the sources below, which we last checked on 27 November 2026. Prices and features change; check the tool's own site before you buy.

  1. Roblox Creator Docs: Build with a coding harness
  2. Roblox Creator Docs: Connect to the Roblox Studio MCP server
  3. Roblox Creator Docs: Script Sync
  4. Roblox Creator Docs: Third-party tools
  5. Roblox Creator Docs: Use Open Cloud with the Studio MCP server
  6. Roblox Creator Docs: Assistant guide
  7. Roblox Studio Team (xwail4) on the DevForum: Studio MCP Server Updates: Video Capture, save_place, and submit_feedback (November 20, 2026)
  8. Roblox (GitHub): OpenGameEval leaderboard
  9. Anthropic: Set up Claude Code (Claude Code documentation)
  10. Anthropic: How Claude remembers your project: CLAUDE.md (Claude Code documentation)
  11. Anthropic: Connect Claude Code to tools via MCP (Claude Code documentation)
  12. Anthropic: Claude pricing
  13. AshExplained (GitHub): roblox-skills README
  14. Scenario (GitHub): Roblox Studio expert skills README
  15. rojo-rbx (GitHub): Rojo README
  16. Baseplate: Baseplate: features and pricing
  17. AIGamer: How to use Roblox Studio's MCP server and AI Assistant (2026)
  18. AIGamer: How to teach coding agents Roblox Studio, Unreal and game servers with skill packs
  19. AIGamer: Roblox OpenGameEval story

Image: Roblox

Written in our own words; quotes are marked and credited. How we report

Get the week in AI game making, every Monday

The top stories, new guides and the AI Game of the Week in one short email. Free.

More guides

  • Does GTA 6 have AI NPCs? What Rockstar has said, and where AI NPCs really existTake-Two's CEO says generative AI has "zero part" in what Rockstar is building for GTA 6. What that means for its NPCs, which claims are unconfirmed, and where LLM-driven characters actually ship.
  • How to turn a mobile game ad into a real, playable web gameTreat the ad as a design brief, write down every mechanic, make the game losable and let a coding agent build and screenshot it. A worked example, a prompt outline and the copyright lines not to cross.
  • Best AI 3D model generators for games in 2026: 10 tools comparedMeshy, Tripo, Rodin, Hunyuan3D, TRELLIS 2 and more, compared on price, free tiers, commercial rights, topology and rigging, with what it takes to make AI models game-ready.
  • How to use AI in Blender: MCP servers, Claude and AI add-ons (2026)Blender has no built-in AI, but MCP servers let Claude, Codex and Cursor build and edit scenes in it. The community and official options compared, how to set one up, and how to stay safe.
  • Unity MCP server: how to connect Claude Code, Codex and Cursor (2026)A Unity MCP server lets Claude Code, Codex or Cursor drive the Unity editor. Unity's own is free in its CLI; community servers support older Unity versions. Setup steps, a comparison and Unity's AI assistant.
  • How to use Roblox Studio's MCP server and AI Assistant (2026)How to turn on the Roblox Studio MCP server, connect Claude Code, Cursor or Codex, fix common connection errors and use Studio's built-in AI Assistant, plus November's new playtest video and save tools.
  • How to use AI with Godot: MCP servers, Claude Code and editor plugins (2026)Godot has no built-in AI, but free MCP servers, coding agents and editor plugins fill the gap. Which to pick, how to set one up, and how to make the agent check its own work.
  • How to let coding agents playtest the games they buildEight open-source tools give Claude Code, Codex and other agents a way to run, measure, play and check a game. Pick one for your engine, write tests the agent can run, and leave feel to a person.
  • Blockout first, art last: how to texture a playtested gray level with AIEpic's docs say to add art only once a level plays well. trompe automates that last step, but its texture is baked to the mesh, so keep the gray level for repaints.
  • How to run a Gauntlet Loop: pair each AI builder agent with a blind criticThe method behind the 55,000-line Claude of Duty shooter: split the game into small pieces and have a fresh, blind critic judge each one against real reference screenshots, round after round.
  • How to let coding agents drive Unreal, Godot and Minecraft with MCPEpic's experimental Unreal MCP plugin and community servers for Godot and Minecraft let an agent act inside a running editor and check the result. Expect dropped tools when the editor restarts.
  • How to turn an AI picture into a rigged 3D game asset in 5 stepsPicture, mesh, refine, rig, export: how 3D AI Studio's templates, Tripo, Hi3D and anymove fit together, and where each step needs checking before the next.
  • How to teach coding agents Roblox Studio, Unreal and game servers with skill packsA skill is a folder of instructions an agent loads only when a task needs it. Where skills go in Claude Code, Codex and Cursor, and which engine packs to use for Roblox, Unreal, Unity and Godot.
  • AI game engines in 2026: what's real, from Unity AI and Unreal MCP to Genie 4The term covers 2 different things: AI tools inside Unity, Unreal, Godot and Roblox Studio, and world models that draw playable frames. Only the first can be used to ship a game today.
  • AI NPCs: how they work, the tools to build them and games that use themSome AI characters, like inZOI's Smart Zois, now run small language models on the player's own GPU. How the pipeline works, which SDKs exist and what still goes wrong.
  • Best AI game makers in 2026: 16 tools comparedPrompt-to-game sites, coding agents like Claude Code and Codex, and engines with AI built in, with prices rechecked in November 2026 and one limit for each.
  • Vibe coding games: how to build a game by prompting an AI agentAndrej Karpathy named the method in February 2025, and a browser flight sim made it famous weeks later. Here's the workflow, the tools and their prices, and the problems to plan for.

🔥Most read this week

  1. 01C.L.T.
  2. 02Slotbound's solo developer reports $1.33M first week, says AI wrote nearly all its code
  3. 03Roblox Studio's MCP server lets AI agents record playtests and save their work
  4. 04Binding of Isaac: Repentance+ patch pulls AI music from GTA 6 daily run
  5. 05Roblox offers to convert released Unity, Unreal and custom-engine games for free with AI
Sign in
Sign in