Roblox AI Bridge is a local bridge that connects Roblox Studio to an AI through a plugin and a Node.js server. It turns natural language instructions into real actions directly inside your Roblox project.
Imagine typing "create a spawn platform"… and watching Studio do it instantly. This project acts as a translator between your intent and the Roblox API.
- The plugin captures a simplified snapshot of your project
- It sends it to a local Node.js server
- The server queries an AI
- The AI returns structured actions (JSON)
- The plugin streams and applies these actions in real time (SSE)
Roblox AI Bridge supports multiple backends depending on how you want to run your AI:
- Uses OpenAI API (GPT models)
- Requires an API key
- Best performance and reliability
- Recommended for most users
- Runs entirely on your machine via Ollama
- No API key required
- Works offline
- Performance depends on your hardware
💡 Want support for other AIs like Claude or Gemini? You can message me on Discord and I can help you set it up or adapt the bridge.
- Create / delete instances
- Modify properties
- Rename and move objects
- Edit script
Source - Near real-time execution
- No direct persistent connection to an AI (API-based or local inference only)
- Prototype: mainly supports basic operations
- Actions are auto-applied → use a copy of your project or rely on
Ctrl+Z
bridge/server.js # Local server (HTTP + SSE)
plugin/RobloxAIBridge.lua # Roblox Studio plugin
.env.example # Environment config
cd <project-path>
$env:OPENAI_API_KEY="your_api_key"
$env:OPENAI_MODEL="gpt-5.4-mini"
node bridge/server.jsMake sure Ollama is installed and running, then:
cd <project-path>
node bridge/server.jsServer runs on:
http://127.0.0.1:8123
- Open Roblox Studio
- Enable local plugins if needed
- Create a Plugin Script
- Right-click →
Save as Local Plugin - Paste
RobloxAIBridge.lua - Run the plugin and click Connect
- (Optional) Select an object in Studio
- Click Sync
- Enter a prompt
- Click Ask AI
- Watch Studio execute your request 👀
create a blue anchored Part in Workspace, size 8x1x8, name it SpawnPlate
create a ScreenGui with a centered TextLabel saying Welcome
replace the selected script with print("Hello from AI bridge")
Returns server status
Sends a Studio snapshot
Requests AI-generated actions
Manually injects actions (no AI required)
- Keep API keys server-side only
- Do not expose the bridge to the internet
- Test on a copy of your project
- Always review applied changes
This is just the beginning. The goal isn’t only automation… but turning Roblox Studio into an AI-assisted environment where building becomes a conversation.