# Roblox Studio Integration

27+ specialized tools that connect directly to Roblox Studio. Edit scripts, manipulate instances, query DataStores, and search the Toolbox — all from your terminal.

## How it works

Stud communicates with Roblox Studio through a companion plugin. The plugin runs a local HTTP server inside Studio, allowing Stud to read and modify your game in real-time. Everything stays on your machine.

You type a prompt→Stud plans actions→Plugin executes→Studio updates

## Setup

The plugin is included in the Stud repository. To install:

Terminal

```
# Copy plugin to Roblox Studio plugins folder
cp plugins/stud-plugin.rbxm ~/Documents/Roblox/Plugins/

# Restart Roblox Studio, then enable HTTP Requests:
# Game Settings → Security → Allow HTTP Requests ✓
```

✓

Once the plugin is active, Stud will automatically detect the connection when you start a session. No additional configuration needed.

## Tool categories

Roblox tools are organized into four categories, each identified by the ◆ diamond icon.

### ◆Script Tools

Read, write, and edit Luau scripts directly in Roblox Studio.

`GetScript` Read the source of any script instance

◆GetScript "ServerScriptService.GameManager"

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

2│ local RS = game:GetService("ReplicatedStorage")

`EditScript` Modify a script with intelligent diffing

`CreateScript` Create a new Script, LocalScript, or ModuleScript

### ◆Instance Tools

Create, move, delete, and inspect any instance in the game tree.

`GetChildren` List children of any instance with class info

◆GetChildren "game.Workspace" 47 instances

├ Camera (Camera)

├ Terrain (Terrain)

├ SpawnLocation (SpawnLocation)

├ Map (Folder)

└ ... 43 more

`CreateInstance` Create a new instance of any class

`MoveInstance` Move or reparent instances in the tree

`DeleteInstance` Remove instances (requires permission)

`SetProperties` Modify instance properties (Position, Size, etc.)

### ☁DataStore Tools

Query and update DataStores directly from your terminal.

`DataStoreGet` Read values from a DataStore key

☁DataStoreGet "PlayerData" key="user_12345"

{
"coins": 1250,
"level": 15,
"inventory": [...
}

`DataStoreSet` Write or update DataStore values (requires permission)

`DataStoreList` List all keys in a DataStore

### ✱Toolbox

Search and insert models, meshes, and assets from the Roblox Toolbox.

`ToolboxSearch` Search for assets by keyword

✱ToolboxSearch "village" 5 results

1. Medieval Village Pack by BuildCraft ✓

2. Villager House by BlockBuilder ✓

3. Village Town Center by MapMakers ✓

`ToolboxInsert` Insert an asset into your game (requires permission)

## Example session

Here's what a typical Roblox development session looks like with Stud:

>Add a coin collection system to my game

◆GetChildren "game.Workspace" 47 instances

◆GetScript "ServerScriptService.GameManager" 89 lines

→Read src/shared/Config.lua 23 lines

△CreateScript "ServerScriptService.CoinService" awaiting

△CreateInstance "Part" in Workspace.Coins awaiting

2 actions awaiting approval · 14.2k tokens · $0.04

### Next Steps

[Getting Started →\
Install and configure Stud](/content/docs/getting-started/index.html) [Permissions →\
Understand the permission system](/content/docs/permissions/index.html)
