AIToday
AI Coding AssistantsZenn AI/MLPublished: Oct 14, 2026, 22:00 JST

Claude Code + Rojo setup syncs AI code straight into Roblox Studio

Claude Code + Rojo setup syncs AI code straight into Roblox Studio

3 Key Points

  1. What happened

    The guide sets up VS Code, Rojo and Claude Code so that a Japanese instruction like "make a server script that greets players" produces src/server/Greeting.server.luau, which Rojo detects and syncs to Roblox Studio over localhost:34872.

  2. Why it matters

    Because Rojo picks up each file Claude Code rewrites and pushes it into Studio automatically, developers skip the manual copy-paste step this setup is meant to eliminate.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The guide frames the friction it removes as copy-paste: in a normal Roblox workflow, code written outside Studio has to be moved into it by hand, and this setup replaces that step with a file watcher. Rojo's role is to bridge the two, and its plugin shows "Connected to session ... at localhost:34872." once Studio and the local server are talking.

The instructions also include the kinds of obstacles a first-time user runs into. On macOS, a downloaded Rojo binary can be blocked by Gatekeeper with a "developer cannot be verified" message, so the guide walks through clearing the quarantine attribute and confirms success when a version such as Rojo 7.7.1 prints.

A CLAUDE.md file at the project root is offered as the way to keep the AI consistent, holding the folder mapping and the naming rules for server, client, and module scripts. The example interaction — asking in Japanese for a greeting script and getting src/server/Greeting.server.luau that prints a welcome message for each joining player — is presented as the normal loop under this setup.

FAQ
How does the AI-written code reach Roblox Studio?
Claude Code rewrites files inside the local src folder, and Rojo's serve process detects the change and syncs it to Roblox Studio through the Rojo plugin, with no manual copy-paste.
What is the connection between Rojo and the project's file names?
Rojo decides script type from the file name: *.server.luau becomes a Script, *.client.luau a LocalScript, and *.luau a ModuleScript.
Can I keep the AI from putting scripts in the wrong place?
Yes. Placing a CLAUDE.md file at the project root lets Claude Code read the project's rules each time, including the folder mapping and file naming conventions.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGemini skills, not ChatGPT GPTs: 30分 no-code agent guide