ホーム 車・バイク Complete Guide to Roblox Studio Script Sync - How to Build a Comfortable Script Development Environment with VS Code

Complete Guide to Roblox Studio Script Sync - How to Build a Comfortable Script Development Environment with VS Code

真鍋 千夏 真鍋 千夏 • 更新: • 公開: • 読了約 85 分
目次

Hello, I'm Roblori. I am a game developer with 10 years of experience in Unity and about 1 year of experience in Roblox development. I am writing this article with the desire to increase the amount of Roblox development information available in Japanese, leveraging my experience with Unity and my background in information technology.

In this article, I will provide a thorough explanation of the official Roblox Studio beta feature, "Script Sync." By using this feature, you can achieve bidirectional synchronization with Studio while editing Roblox scripts in an external editor like VS Code.

This is a feature that anyone who feels "the built-in Studio editor is not enough," "wants to manage code with Git," or "wants to use the shortcuts of their favorite IDE" should definitely know about.

Chapter 1: Why Use an External Editor?

n6a1256f4e937

Features of the Roblox Studio Built-in Editor

Roblox Studio comes with a built-in editor for script editing. This editor has sufficient features for basic coding tasks.

What you can do with the built-in editor:

  • Syntax highlighting (color-coded display of syntax)

  • Basic autocomplete (code completion)

  • Integration with Roblox API (access to API documentation)

  • Debugging using breakpoints

  • Script editing in multiple tabs

For beginners or small-scale projects, you can develop sufficiently using just this built-in editor.

Benefits of Using an External Editor

On the other hand, when projects grow larger or when developing in a team, using an external editor provides many benefits.

1. Advanced Code Completion and IntelliSense

In modern editors like VS Code, you can use more advanced code completion features. You can infer variable types to display appropriate suggestions and view function signatures (argument and return types) in real-time.

For example, just by typing workspace:, all available methods and properties for the Workspace service are displayed as suggestions. This saves you the trouble of repeatedly referring to the API documentation.

2. Powerful Linter (Static Code Analysis)

A linter is a tool that detects potential issues before running the code. For example, it automatically points out unused variables, access to undefined variables, and typos.

For Roblox/Luau, a linter called "selene", is widely used and can be easily installed as a VS Code extension.

3. Automatic Formatter

This is a tool that automatically formats your code. It handles tasks like standardizing indentation, adjusting whitespace, and enforcing line length limits.

By using a Luau-specific formatter called "StyLua", every team member can maintain the same code style. You will no longer need to make trivial comments during code reviews about inconsistent indentation.

4. Version Control with Git

Git is a system for recording and managing code change history. By using an external editor, you can also manage Roblox scripts with Git.

Benefits of using Git:

  • You can revert to previous versions at any time

  • You can see who changed what and when

  • You can use branches to develop features individually

  • You can share and back up code on platforms like GitHub

5. Familiar Keybindings and Shortcuts

For developers who have used VS Code or Vim for many years, being able to use familiar keybindings (shortcut keys) is a major advantage.

For example, in VS Code, you can use Ctrl+D to select multiple instances of the same word, or Ctrl+Shift+L to select all occurrences at once. Utilizing these features significantly streamlines editing tasks.

6. Integration with AI Coding Tools

I personally use external editor integration via Argon or Rojo. One of the biggest benefits is the ability to integrate with AI coding tools like Claude Code or OpenAI Codex.

These AI tools operate on code that exists as local files. By using Script Sync to synchronize your scripts as local files, you can ask the AI to "optimize this function" or "fix this bug."

By combining this with Git integration, you can also track the change history of AI-generated code, allowing you to receive AI assistance with peace of mind.

The Traditional Option: Rojo

For developers who want to use an external editor, a third-party tool called "Rojo" has been widely used until now. While Rojo is an extremely powerful tool, it also comes with some challenges.

Rojo Features:

  • Can manage the entire project (not just scripts, but also models and UI)

  • The file system becomes the "Source of Truth"

  • Can integrate with package managers like Wally

Rojo Challenges:

  • Setup is complex (requires Foreman and Rojo server configuration)

  • Requires migration (porting) work for existing projects

  • Limited compatibility with Team Create

Script Sync has emerged as an official alternative to solve these challenges.

Chapter 2: What is Script Sync?

Positioning as an Official Beta Feature

Script Sync is an Studio Beta Feature officially provided by Roblox. It has been publicly available since late 2024 and is still being continuously improved.

A beta feature is an experimental feature before its official release. While its basic operation is stable, specifications may change in the future. However, in my experience, it can be used without any issues for daily development.

Basic Mechanism

The mechanism of Script Sync is very simple.

Roblox Studio ←→ ローカルファイルシステム ←→ 外部エディタ
     ↑                     ↑
     └─── 双方向同期 ───────┘
  1. Outputs scripts within Studio as files on the local disk

  2. Edit those files in an external editor

  3. Automatically reflects changes to Studio upon saving

  4. Reflects changes to local files when edited on the Studio side

With this bidirectional synchronization, changes will not be lost regardless of where you edit.

Key Differences from Rojo

While both Script Sync and Rojo enable integration with external editors, their approaches differ significantly.

PerspectiveScript SyncRojoManaged ItemsScripts onlyEntire projectSource of TruthRoblox CloudFile systemTeam CreateFully compatibleLimitedSetupEasyComplexExisting ProjectsAdopt as-isRequires porting\beginarraylcc \textbfPerspective & \textbfScript Sync & \textbfRojo \\ \textManaged Items & \textScripts only & \textEntire project \\ \textSource of Truth & \textRoblox Cloud & \textFile system \\ \textTeam Create & \textFully compatible & \textLimited \\ \textSetup & \textEasy & \textComplex \\ \textExisting Projects & \textAdopt as-is & \textRequires porting \\ \endarray

When Script Sync is suitable:

  • You want to use an external editor but prefer Studio for everything else

  • You want to easily introduce it into an existing project

  • You are developing in a team using Team Create

When Rojo is suitable:

  • You want to version control the entire project (including 3D models, UI, etc.)

  • You want the file system to be the "source of truth" for your project

  • You want to use package managers like Wally

Supported Studio Versions

Script Sync is available in the latest version of Roblox Studio. There are no specific version requirements, but you must enable the beta feature (setup instructions are explained in the next chapter).

Chapter 3: Enabling and Configuring Script Sync

Steps to Enable Studio Beta Features

To use Script Sync, you must first enable the beta feature in Studio.

Steps:

  1. Open Roblox Studio

  2. Click File from the top menu

  3. Beta Features Select

  4. Find Script Sync in the displayed list

  5. Check the checkbox

Script Sync is now enabled. You do not need to restart Studio.

Setting up the Sync Folder

Next, configure which folder you want to sync.

Steps:

  1. Explorer window, select the folder you want to sync

    • Example: Client folder in ReplicatedStorage

    • Example: Server folder in ServerScriptService

  2. Right-click the selected folder

  3. From the context menu, select Script Sync > Sync with Directory

  4. A file selection dialog will appear. Select (or create) the destination directory and click Save

  5. Synchronization will begin. In the Explorer window, the folder being synced will display a special icon

Verifying the Sync Directory

To verify the configured sync directory:

  1. Right-click the folder being synced in Studio

  2. Script Sync > Reveal in Explorer (Windows) or Reveal in Finder (macOS)

This will open the file explorer, allowing you to view the synced files.

Performing Initial Sync

Once sync is configured, the scripts in Studio will be exported as local files. This initial sync will create the following file structure.

同期先ディレクトリ/
├── PlayerManager.luau           # ModuleScript
├── GameLoop.server.luau         # Server Script
├── UIController.client.luau     # Client Script
├── Utils/                       # Folder
│   ├── init.luau                # Utils 自体が ModuleScript の場合
│   └── Helper.luau              # 子 ModuleScript
└── Services/                    # Folder
    └── DataService.server.luau  # Server Script

File Naming Convention

Script Sync uses a special naming convention to distinguish between script types. It is important to understand this rule.

File NameType in Studioname.luauModuleScriptname.server.luauScript (Server)name.client.luauScript (Client)name.local.luauLocalScriptname.legacy.luauScript (Legacy)name.plugin.luauScript (Plugin)name/Foldername/init..luauScript with children\beginarrayll \textbfFile Name & \textbfType in Studio \\ \textname.luau & \textModuleScript \\ \textname.server.luau & \textScript (Server) \\ \textname.client.luau & \textScript (Client) \\ \textname.local.luau & \textLocalScript \\ \textname.legacy.luau & \textScript (Legacy) \\ \textname.plugin.luau & \textScript (Plugin) \\ \textname/ & \textFolder \\ \textname/init..luau & \textScript with children \endarray

Example: Creating a ModuleScript

When you create a file named MathUtils.luau on your local disk, a ModuleScript named MathUtils is automatically created in Studio.

Example: Creating a Server Script

When you create a file named GameManager.server.luau on your local disk, a Script with its RunContext set to Server is created in Studio.

Example: Creating a ModuleScript with children

If you create a structure like this:

PlayerService/
├── init.luau      # PlayerService 自体のコード
├── Data.luau      # 子の ModuleScript
└── Events.luau    # 子の ModuleScript

In Studio, child ModuleScripts named Data and Events will be placed under the PlayerService ModuleScript.

Configuration Options

You can customize the behavior of Script Sync in Studio Settings (Alt+S or Option+S).

Auto resume sync on place open

Sets whether to automatically resume previous sync settings when opening a place.

  • Enabled (Recommended): Sync will automatically resume every time you open a place

  • Disabled: You must manually start the sync every time

Disabling this setting significantly reduces the convenience of Script Sync, so we recommend keeping it enabled.

Resume conflicted sync on place open

Sets the behavior when local files are modified while Studio is closed.

  • Do not resume (Default/Recommended): If a conflict occurs, you will be asked to resolve it manually. This is the safest option to prevent data loss

  • Prefer disk version: Prioritizes the content of the local file

  • Prefer Studio version: Prioritizes the content on the Studio side

For beginners, we recommend leaving it as the default 'Do not resume'. This prevents unintended overwriting of changes.

Keep local files/directories after sync

Sets how to handle local files when synchronization is stopped.

  • Keep: Keeps local files

  • Delete: Deletes local files

If you are using Git for version control, selecting 'Keep' allows you to retain files even after synchronization is stopped.

File extension

Sets the extension for local files.

  • .luau (recommended): Standard extension for the Luau language

  • .lua: Traditional Lua extension

Luau is a derivative of Lua developed by Roblox, with added features such as type annotations. Unless you have a specific reason, please use '.luau'.

Chapter 4: VS Code Settings

This chapter explains how to configure VS Code (Visual Studio Code) when using it as an external editor. VS Code is a free, high-performance editor and is the most popular choice for Roblox development.

Installing VS Code

If you have not installed VS Code yet, please download and install it from the official website. It is compatible with Windows, macOS, and Linux.

Required: Installing Luau Language Server

The most important extension for using Script Sync comfortably is the Luau Language Server (luau-lsp). This extension enables Roblox API autocompletion and type checking in VS Code.

Installation steps:

  1. Open VS Code

  2. Click the Extensions icon in the left sidebar

  3. Type "Luau Language Server" into the search box.

  4. Find "Luau Language Server" (by JohnnyMorganz) and click Install.

Extension URL:
https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.luau-lsp

Required: Installing the Luau Language Server Companion

The VS Code extension alone cannot understand the data model structure of a Roblox project. Therefore, you must also install the Companion plugin on the Studio side.

Installation steps:

  1. Open Roblox Studio.

  2. Luau Language Server Companion Visit the page for.

  3. Get Plugin Click to install.

Plugin URL:
https://create.roblox.com/store/asset/10913122509/Luau-Language-Server-Companion

Why installing both is important:

The official documentation explains it as follows:

The LSP (Language Server Protocol) extension needs to understand the project's data model hierarchy. The VS Code extension alone cannot obtain this information, but the companion plugin on the Studio side provides this data.

Features provided

Once you set up the Luau Language Server, the following features become available.

Autocomplete (Code completion)

As you type code, available methods, properties, and variables will be displayed as suggestions.

For example, when typing the following code:

local Players = game:GetService("Players")
Players:

As soon as you type Players:, suggestions such as GetPlayers(), GetPlayerByUserId(), and PlayerAdded will be displayed.

Type Checking

Leverage the Luau type system to detect errors before compilation.

local function greet(name: string)
    print("Hello, " .. name)
end

greet(42)  -- エラー: number は string と互換性がありません

Errors like these will be displayed in VS Code before you even run the code.

Go to Definition

You can jump to the definition of variables and functions. Press the F12 key or Ctrl+Click (or Cmd+Click on Mac) to navigate to the definition.

This is especially useful in large-scale projects, allowing you to instantly resolve questions like, "Where is this function defined?"

Hover Information

When you hover your cursor over a variable or function, its type information and documentation will be displayed.

Recommended: Installing selene (Linter)

selene is a linter that performs static analysis on Luau code. It automatically detects issues in your code.

Installation Steps:

  1. Search for "selene" in the VS Code Extensions view

  2. Install "selene-vscode" (by Kampfkarren)

Extension URL:
https://marketplace.visualstudio.com/items?itemName=Kampfkarren.selene-vscode

Examples of issues detected by selene:

  • Unused variables

  • Use of global variables (unintended global access)

  • Use of deprecated APIs

  • Potential bug patterns

Recommended: Installing StyLua (Formatter)

StyLua is a formatter that automatically formats Luau code.

Installation steps:

  1. Search for "StyLua" in VS Code Extensions

  2. Install "StyLua" (Author: JohnnyMorganz)

Extension URL:
https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua

Formatting shortcut:

  • Windows/Linux: Shift+Alt+F

  • macOS: Shift+Option+F

Alternatively, you can set it to format automatically when saving a file:

  1. Open VS Code Settings (Ctrl+, or Cmd+,)

  2. Search for "format on save"

  3. Editor: Format On Save Check the box for

Tips for Workspace Settings

Here are some tips for efficiently managing Roblox projects in VS Code.

Creating a Workspace

It is convenient to manage multiple sync folders as a single workspace.

  1. File > Add Folder to Workspace to add sync folders

  2. File > Save Workspace As to save the workspace

This allows you to access all sync folders just by opening the workspace file next time.

Configuration example for .vscode/settings.json

It is convenient to create a .vscode/settings.json file in the project root and add the following settings:

    "editor.formatOnSave": true,
    "editor.defaultFormatter": "JohnnyMorganz.stylua",
    "[luau]": 
        "editor.defaultFormatter": "JohnnyMorganz.stylua"
    ,
    "luau-lsp.types.roblox": true,
    "files.associations": 
        ".luau": "luau"
    
.gitignore Configuration

When using Git for version control, create a .gitignore file to exclude unnecessary files:

# Roblox place files
*.rbxl
*.rbxlx
*.rbxm
*.rbxmx
IDE files
.vscode/
OS files
.DS_Store
Thumbs.db

Chapter 5: Actual Development Workflow

In this chapter, we will explain the actual development workflow using Script Sync step-by-step.

Overview of the Workflow

The development workflow using Script Sync is as follows:

1. Studio でプロジェクトを開く
       ↓
2. 同期したいフォルダを選択し、Script Sync を設定
       ↓
3. VS Code で同期フォルダを開く
       ↓
4. VS Code でコードを編集・保存
       ↓
5. Studio で自動的に変更が反映される
       ↓
6. Studio でテストプレイして動作確認
       ↓
7. 必要に応じて 4〜6 を繰り返す

Starting Synchronization

Method 1: Syncing the Entire Folder (Recommended)

This is the method for syncing an entire folder containing multiple scripts. This is the most convenient method and is also recommended by the official documentation.

  1. Select the folder you want to sync in the Explorer window

  2. Right-click > Script Sync > Sync with Directory

  3. Select the destination directory and click Save

Benefits of folder synchronization:

  • When a new script is created, it is automatically included in the synchronization

  • Script deletions and renames are also automatically reflected

  • Subfolders are also synchronized recursively

Method 2: Opening Individual Scripts in an External Editor

This is the method for when you want to open only a single script in an external editor.

  1. Select the script in the Explorer window

  2. Right-click > Open in External Editor

This method is convenient when you want to use an external editor temporarily. However, since you need to perform the same operation every time you create a new script, folder synchronization is recommended for continuous development.

Creating, Editing, and Deleting Files

Creating a New Script

When you create a new file in VS Code, a script is automatically created in Studio as well.

Example: Create a new ModuleScript

  1. Create a new file in the sync folder in VS Code

  2. Name the file NewModule.luau

  3. When saved, a ModuleScript named NewModule is created in Studio

Example: Create a new Server Script

  1. Name the file GameManager.server.luau

  2. When saved, a Script with RunContext set to Server is created in Studio

Editing Scripts

When you edit and save a file in VS Code, the script in Studio is also automatically updated.

  1. Open the file in VS Code

  2. Edit the code

  3. Save with Ctrl+S (Mac: Cmd+S)

  4. Confirm that the script has been updated in Studio

Similarly, if you edit a script in Studio, the file in VS Code will also be updated.

Deleting Scripts

You can delete scripts from either the VS Code side or the Studio side.

Deleting from VS Code:

  1. Right-click the file > Delete

  2. The script will be deleted in Studio

Deleting from Studio:

  1. Right-click the script in the Explorer > Delete

  2. The file will be deleted in VS Code

Note: Deleting top-level instances

If you delete the folder (top-level instance) where you first set up synchronization directly on your local disk, Studio may trigger an error.

Correct deletion procedure:

  1. Right-click the target folder in Studio

  2. Script Sync > Stop Sync select

  3. Optionally select Delete folder(s)

  4. Then, delete the folder in Studio

Renaming scripts

When you rename a file in VS Code, the script name in Studio will also be updated automatically.

  1. Right-click the file in VS Code > Rename

  2. Enter the new name (be mindful of extension rules)

  3. The script name will be updated in Studio

Resolving conflicts

If you edit files in VS Code while Studio is closed and then open Studio, conflicts may occur.

Behavior when a conflict occurs:

If the setting is "Do not resume" (default):

  1. A dialog appears when you open Studio

  2. Choose whether to use the version on disk or the version in Studio

  3. After making a selection, synchronization will resume

Best practices to avoid conflicts:

  • Edit in VS Code while Studio is open

  • Check for unsaved changes in VS Code before closing Studio

  • Use Git to ensure you can revert to previous versions at any time

Using with Team Create

One of the major advantages of Script Sync is its full compatibility with Team Create. This is a feature that is difficult to achieve with third-party tools like Rojo.

What is Team Create?:

Team Create is Roblox's built-in collaboration feature that allows multiple developers to edit the same project in real-time.

Key features of Team Create:

  • Real-time collaboration

  • Live scripting (real-time collaborative code editing)

  • Drafts mode (independent editing and committing)

  • Commenting feature

Combining Script Sync + Team Create:

You can use all of these Team Create features while using Script Sync. It is perfectly fine for some team members to use Script Sync while others use the built-in Studio editor.

Chapter 6: Integration with AI Coding Tools

In this chapter, I will explain how to integrate AI coding tools using Script Sync. This is a method I personally use, and it can significantly improve development efficiency.

Why integration with AI is important

In recent years, AI coding tools such as Claude Code, OpenAI Codex, and GitHub Copilot have become rapidly widespread. These tools provide:

  • Code autocompletion

  • Bug detection and fix suggestions

  • Code explanation and documentation generation

  • Refactoring suggestions

  • Implementation support for new features

and other such features.

However, most of these AI tools operate on files on the local file system. If you only use the built-in Studio editor, you cannot take advantage of these powerful tools.

By using Script Sync, you can manage Roblox scripts as local files, allowing you to benefit from AI coding tools.

My development environment

I use Argon and Rojo for external editor integration, but you can achieve a similar workflow with Script Sync.

The combination I use:

  • Editor: VS Code

  • AI Tool: Claude Code

  • Version Control: Git + GitHub

Benefits:

  • You can ask AI to 'optimize this function'

  • You can track AI-generated code with Git

  • You can ask AI to perform code reviews

The Importance of Git Integration

When using AI coding tools, Git integration is extremely important.

Reasons to use Git:

  1. Change tracking: You can check the change history of code generated by AI

  2. Rollback: If the AI's suggestion is not as expected, you can easily revert it

  3. Comparison: You can compare code before and after changes to understand what the AI modified

  4. Backup: If you push to GitHub or similar, you can restore your files even if local files are lost

Basic Git workflow:

# 初期設定(最初の1回だけ)
cd 同期フォルダ
git init
git add .
git commit -m "Initial commit"
日常的なワークフロー
git status           # 変更を確認
git diff             # 差分を確認
git add .            # 変更をステージング
git commit -m "メッセージ"  # コミット

Examples of Using AI Tools

Example 1: Requesting a code explanation

「このスクリプトが何をしているか説明してください」

AI will read the code and explain it in English. This is useful for understanding code written by other developers.

Example 2: Requesting bug fixes

「このコードで発生しているエラーを修正してください」

If you provide the code along with an error message, the AI will identify the cause and suggest a fix.

Example 3: Requesting refactoring

「この関数をより効率的に書き直してください」

The AI will analyze the code and suggest a new version with improved performance and readability.

Example 4: Requesting implementation of new features

「プレイヤーがダメージを受けたときに画面を赤くフラッシュさせる機能を追加してください」

The AI will generate the necessary code and explain how to integrate it into your existing codebase.

Points to Note

Points to note when using AI coding tools:

  1. Always verify generated code: AI is not perfect. Always check that the generated code works correctly.

  2. Be mindful of security: Ensure that the code you provide to the AI does not contain sensitive information (API keys, passwords, etc.).

  3. Be aware of copyright: Check the terms of service for each tool regarding the copyright of code generated by AI.

  4. Use it as a learning opportunity: Rather than leaving everything to the AI, it is important to have an attitude of learning from the generated code.

Chapter 7: Troubleshooting

In this chapter, we will explain common problems that occur when using Script Sync and how to resolve them.

Synchronization does not start

Symptoms: The Script Sync menu does not appear, or it does not work even after starting synchronization.

Solution:

  1. Check if Beta Features are enabled

    • Open File > Beta Features

    • Check if Script Sync is checked

    • If it is not checked, turn it on

  2. Restart Studio

    • Immediately after enabling Beta Features, you may need to restart Studio.

  3. Check the synchronization targets

    • Script Sync only supports Script, LocalScript, ModuleScript, and Folder

    • Parts, Models, etc., are not subject to synchronization

Files are not synchronizing

Symptom: Editing files in VS Code does not reflect in Studio

Solution:

  1. Check file naming conventions

    • Verify that you are using the correct file extension (.luau or .lua)

    • Check naming conventions based on script type (e.g., .server.luau)

  2. Check for attributes or tags

    • Scripts with attributes or tags will not be synchronized

    • Select the script in the Explorer and check Attributes and Tags in the Properties window

  3. Check sync status

    • Check the folder icon in the Explorer

    • Folders currently syncing will display a special icon

An error is displayed

Symptom: An error dialog appears in Studio

"File name contains incompatible characters" error

Solution:

  • Please remove special characters from the file name

  • Allowed characters: letters, numbers, underscores, hyphens, and dots

"Duplicate name" error

Solution:

  • Check if there are files with the same name in the same folder

  • File names that differ only by case may also be considered duplicates on some operating systems

"Top-level instance deleted" error

Solution:

  • Do not delete the top-level (initially synced) folder directly on your local disk

  • Correct procedure: Stop Sync in Studio → Delete file → Delete folder in Studio

A conflict occurred

Symptom: A conflict dialog appears when opening the place

Solution:

  1. Select in dialog

    • "Use disk version": Adopt the contents of the local file

    • "Use Studio version": Adopt the contents from the Studio side

  2. Manual merge

    • If you want to keep changes from both, select one and then edit manually

Preventive measures:

  • Edit in VS Code while keeping Studio open

  • Communicate with other developers while editing (when using Team Create)

  • Use Git to manage change history

Performance optimization

Symptoms: Sync is slow, Studio performance becomes sluggish

Solution:

  1. Narrow down sync targets

    • Sync only necessary folders instead of all folders

    • Avoid syncing folders that contain a mix of scripts and other instances

  2. Countermeasures for large projects

    • Divide folders by function and sync only the necessary parts

    • Stop unnecessary syncing with Stop Sync

Checking log files

If the problem is not resolved, checking the Studio log files may reveal detailed error information.

Log file location:

Windows:

%LOCALAPPDATA%\Roblox\logs

macOS:

~/Library/Logs/Roblox

Chapter 8: Comparing Script Sync and Rojo

In this chapter, we will compare Script Sync and Rojo in detail and explain which one you should choose.

Basic differences between the two

Script Sync's approach

Script Sync takes a "cloud-first" approach.

  • Roblox cloud is the "Source of Truth"

  • Bidirectional synchronization of scripts only

  • Full compatibility with Team Create

  • Maintains existing Roblox workflows

Rojo's approach

Rojo takes a "file-system-first" approach.

  • Local file system is the "Source of Truth"

  • Manages the entire project (scripts, models, UI, etc.)

  • Enables more advanced version control

  • Complex setup

Detailed comparison

Setup complexity

Script Sync:

  1. Enable File > Beta Features > Script Sync

  2. Right-click folder > Sync with Directory

  3. Done

Rojo:

  1. Install Foreman

  2. Configure foreman.toml

  3. Install Rojo

  4. Create project file (.project.json)

  5. Install Rojo plugin

  6. Start server with rojo serve

  7. Connect from plugin in Studio

Script Sync is clearly easier to set up.

Compatibility with Team Create

Script Sync:

  • Fully compatible with Team Create

  • Team members can each use Script Sync

  • Live scripting and Drafts mode are also available

Rojo:

  • Limited compatibility with Team Create

  • Basically, it assumes that everyone on the team uses Rojo

  • Live scripting cannot be used

If you are using Team Create, Script Sync is more suitable.

Managed items

Script Sync:

  • Scripts, LocalScripts, ModuleScripts, and Folders only

  • 3D models, UI, and other assets are not managed

Rojo:

  • Can manage the entire project

  • Can perform version control including 3D models, UI, audio, images, etc.

If you want to perform version control on the entire project, Rojo is more suitable.

Package management

Script Sync:

  • No package management features

  • External libraries must be introduced manually

Rojo:

  • Can be integrated with Wally (package manager)

  • Easily import and update external libraries

For projects that make heavy use of external libraries, the combination of Rojo + Wally is convenient.

Which one should you choose?

When you should choose Script Sync
  • You have just started Roblox development and want to try using an external editor

  • You have an existing project and want to introduce external editor integration without major changes

  • You are using Team Create

  • You want to minimize setup effort

  • It is sufficient to version control only the scripts

When you should choose Rojo
  • You want to version control the entire project (including 3D models, UI, etc.)

  • You want the file system to be the "source of truth" for your project

  • You want to use package managers like Wally

  • You do not mind complex setup

  • You are not using Team Create, or you can stop using it

The option to use both

Actually, Script Sync and Rojo are not mutually exclusive. It is possible to use them differently depending on the situation.

  • Small projects or experiments: Script Sync

  • Full-scale large projects: Rojo

  • Projects using Team Create: Script Sync

  • For those who want complete control in solo development: Rojo

The peace of mind that you can always go back

The official documentation states the following:

Whether it's Script Sync or Rojo, if you try them and they don't fit your needs, you can always return to Studio-only development. Feel free to give them a try.

Chapter 9: Summary

Benefits of Script Sync

Here is a summary of the main benefits of Script Sync explained in this article.

  1. Easy setup: You can start using it just by enabling the beta feature

  2. Use external editors like VS Code: You can utilize advanced code completion, linters, and formatters

  3. Version control with Git: You can track code change history and revert to past versions at any time

  4. Integration with AI coding tools: You can leverage AI tools such as Claude Code and GitHub Copilot

  5. Full compatibility with Team Create: It can be used without issues even in team development

  6. Easy to introduce to existing projects: You can introduce it without changing the project structure

  7. No lock-in: You can return to Studio-only development at any time

Disadvantages of Script Sync

On the other hand, you should be aware of the following points:

  1. It is a beta version: Specifications may change in the future

  2. Supports scripts only: 3D models, UI, etc., are not subject to synchronization

  3. Attributes and tags are not synchronized: Scripts with attributes or tags cannot be synchronized

  4. Debugger is Studio-only: You cannot control the Studio debugger from an external editor.

Who is this recommended for?

Script Sync is especially recommended for the following types of developers:

Beginners to Intermediate Developers:

  • Those who want to experience the convenience of an external editor

  • Those interested in version control with Git

  • Those who do not want to spend time on setup

Teams using Team Create:

  • Those who do not need every team member to use the same tools

  • Those who want to continue using live scripting or Drafts mode

Developers of existing projects:

  • Those who do not want to significantly change their project structure

  • Those who want to introduce external tools gradually

Future Outlook

Script Sync is still in beta, but Roblox is continuously improving its features. The following improvements are expected in the future:

  • Official release (graduation from beta)

  • Expansion of supported instance types

  • Support for attributes and tags

  • More advanced conflict resolution features

Please check the official Roblox blog and DevForum for the latest information.

Let's get started

Script Sync is the perfect choice for your first step into Roblox development using an external editor. Setup is simple and risk-free.

Please try it out today. You will surely realize that the combination of VS Code and the Luau Language Server significantly improves your coding experience.

I hope this article is even a little bit helpful for your Roblox development. If you have any questions, please feel free to leave a comment.

Reference Links

  • Roblox Official Documentation - Script Sync

  • Luau Language Server (VS Code Extension)

  • Luau Language Server Companion (Studio Plugin)

  • selene (Linter)

  • StyLua (Formatter)

  • DevForum - Script Sync Announcement

同じカテゴリの記事

真鍋 千夏
デジタルマーケター 真鍋 千夏
プロフィールを見る →

美容と暮らしの話題を担当。メーカーの公式発表、商品成分の公表資料、専門家の監修記事をもとに事実を整理します。

おすすめの関連記事