Plugin Usage
First Time Setup
- Start the RbxSync server:
rbxsync serve - Open Roblox Studio
- Click the RbxSync button in the toolbar
- The project path auto-populates from the server's working directory
- Click Connect
Auto-Connect
Enable "Auto-connect on startup" in settings to automatically connect when Studio opens.
Extracting Your Game
Extract converts your entire game to files:
- Open your game in Studio
- Connect to RbxSync
- Click Extract
- Wait for extraction to complete
- Your files appear in the
src/folder
Syncing Changes
When you edit files in VS Code, changes sync automatically.
To manually sync:
- Click Sync in the plugin
- Or run
rbxsync syncin terminal
Auto-Extract
When connected, changes you make in Studio automatically extract to files:
- Creating a new script
- Editing script source
- Deleting instances
- Modifying properties
Changes are debounced (300ms) to batch rapid edits.
Tracked Services
Auto-extract monitors these services:
- Workspace
- ReplicatedStorage
- ReplicatedFirst
- ServerScriptService
- ServerStorage
- StarterGui
- StarterPack
- StarterPlayer
- Lighting
- SoundService
Console Capture
When connected, all print(), warn(), and error() output streams to VS Code.
This enables:
- Real-time debugging
- AI agents seeing test output
- Remote error monitoring
Plugin Settings
Access settings by clicking the gear icon in the plugin window.
Auto-Connect
When enabled, the plugin automatically connects to the server when Studio opens.
Optimization Stats
Click "Show Optimization Stats" to see a breakdown of your game's content:
- Lights - PointLight, SpotLight, SurfaceLight, etc.
- Animations - Animation instances and AnimationTracks
- Skinned Meshes - MeshParts with WrapTarget/WrapLayer
- Sounds - Sound instances
- Particles - ParticleEmitter, Beam, Trail
- MeshParts - All MeshPart instances
- Unions - UnionOperation instances
This helps identify areas for optimization.
Button States
Sync Button:
- Idle: Gray background
- Syncing: Cyan with pulse
- Success: Brief green flash
Extract Button:
- Active: Cyan when connected
- Disabled: Dimmed when disconnected
