Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก ZeroScript

Suruh AI Chat favoritmu mengendalikan Roblox Studio โ€” cukup dengan chat biasa.

Release License Platform Platform Platform Chrome


Bayangkan kamu bisa menyuruh ChatGPT, DeepSeek, Claude, atau Gemini untuk membuat Part, menulis script Luau, mengeksekusi kode, hingga mengambil screenshot di Roblox Studio โ€” langsung dari situs AI chat yang biasa kamu pakai.

ZeroScript mewujudkannya tanpa build step yang rumit. Tidak perlu server, tidak perlu membayar โ€” semuanya berjalan lokal di komputermu.


Daftar Isi


Quick Start (untuk pemula)

๐Ÿ’ก Istilah singkat

Istilah Artinya
Bridge Program kecil di komputermu yang menghubungkan ekstensi browser dengan Roblox Studio.
Ekstensi Add-on Chrome yang menyuntikkan agent ZeroScript ke situs AI chat.
MCP Standar koneksi (Model Context Protocol) yang dipakai untuk mengendalikan Studio.
Luau Bahasa scripting Roblox (varian Lua).

Ada dua jalur. Kalau kamu pemula, pakai Opsi A โ€” paling cepat dan tanpa ribet.

Opsi A โ€” Desktop App (disarankan โญ)

Tidak perlu menginstal Python, Node.js, atau membuka terminal sama sekali.

Langkah 1 โ€” Unduh & install aplikasi desktop

  1. Buka halaman Releases.
  2. Unduh installer untuk sistem operasimu (<arch> = x64/aarch64 sesuai prosesormu):
    • Windows โ†’ ZeroScript_<versi>_x64-setup.exe
    • macOS โ†’ ZeroScript_<versi>_<arch>.dmg
    • Linux โ†’ ZeroScript_<versi>_amd64.AppImage (atau .deb)
  3. Install seperti biasa, lalu buka aplikasi ZeroScript.
  4. Di dashboard, klik Start Bridge โ€” atau aktifkan auto-start di menu Settings.

Langkah 2 โ€” Muat ekstensi di browser

  1. Unduh ZeroScript-extension-<versi>.zip dari halaman Releases, lalu ekstrak.
  2. Buka chrome://extensions (atau edge://extensions) di Chrome/Edge/Brave.
  3. Aktifkan Developer mode (pojok kanan atas).
  4. Klik Load unpacked โ†’ pilih folder hasil ekstrak (folder yang berisi manifest.json).
  5. Ekstensi muncul dengan nama BetterScript Studio ร— Roblox Agent โ€” itu branding lama, tetap ZeroScript. โœ…

Langkah 3 โ€” Aktifkan MCP di Roblox Studio

  1. Buka Roblox Studio dan buka salah satu place milikmu.
  2. Buka Assistant Settings โ†’ MCP Servers.
  3. Aktifkan "Studio as MCP server" (nyalakan toggle-nya).

Langkah 4 โ€” Mulai pakai! ๐ŸŽ‰

  1. Buka salah satu situs AI yang didukung.
  2. Klik tombol Start Roblox Agent di toolbar ZeroScript.
  3. Coba minta: "Buatkan part merah di tengah workspace" โ€” dan lihat AI mengerjakannya!

โœ… Jika bridge menampilkan Roblox Studio connected - N tools ready, semuanya berfungsi.

Opsi B โ€” Manual (tanpa installer, butuh Python)

Cocok untuk kamu yang suka menjalankan langsung dari source.

# 1. Clone repository
git clone https://github.com/valency-studio/ZeroScript.git
cd ZeroScript

# 2. Install dependency bridge (hanya butuh websockets)
pip install websockets

# 3. Jalankan bridge
python bridge.py          # Windows
# atau
bash MacOS_Start.command  # macOS / Linux

โš ๏ธ Jangan tutup terminal bridge selama digunakan โ€” cukup minimalkan. Jangan jalankan start.bat langsung dari dalam file ZIP (ekstrak dulu).

Selanjutnya ikuti Langkah 2โ€“4 dari Opsi A (muat ekstensi โ†’ aktifkan MCP โ†’ mulai pakai).


Bagaimana ZeroScript Bekerja

ZeroScript terdiri dari tiga komponen yang bekerja bersama:

Komponen Peran
๐ŸŒ Ekstensi Browser Menyuntikkan agent ke situs AI chat; menampilkan status & hasil tool sebagai interactive chips.
โš™๏ธ Bridge Server lokal (ws://127.0.0.1:17613) yang menjalankan MCP server, menggabungkan tools, dan merutekan perintah.
๐ŸŽฎ Roblox Studio MCP Jembatan ke Studio (StudioMCP bawaan atau custom) agar AI bisa menyentuh place-mu.

Alur komunikasi:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   AI Chat Site      โ”‚      โ”‚    Roblox Studio     โ”‚
โ”‚ ChatGPT ยท Claude ยท  โ”‚โ—€โ”€โ”€โ”€โ”€โ–ถโ”‚    Game / Place      โ”‚
โ”‚ DeepSeek ยท Gemini   โ”‚      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                 โ–ฒ
          โ”‚ WebSocket 127.0.0.1:17613   โ”‚ MCP / stdio
          โ–ผ                             โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Bridge (lokal)     โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ–ถ  StudioMCP / custom  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Saat kamu menekan Start Roblox Agent, AI di chat:

  1. Menerima system prompt ZeroScript.
  2. Menentukan tindakan yang dibutuhkan (misal: membuat part).
  3. Menghasilkan perintah ZeroScript.
  4. Menjalankan MCP tool di Studio.
  5. Menerima hasil tool & melanjutkan reasoning โ€” hingga selesai.

Fitur Utama

๐Ÿค– Kontrol Roblox Studio real-time Buat & modifikasi objek, tulis dan jalankan script Luau (execute_luau), baca info place, dan ambil screenshot Studio โ€” semuanya dari chat.

๐ŸŒ 30+ situs AI chat ChatGPT, DeepSeek, Claude, Gemini, Kimi, GLM, Qwen, Grok, Copilot, Perplexity, Mistral, Poe, HuggingChat, dan banyak lagi. Lihat daftar lengkap.

๐Ÿ”„ Agentic Loop AI bisa mengerjakan pekerjaan kompleks bertahap di dalam chat: reasoning โ†’ eksekusi โ†’ melihat hasil โ†’ lanjut, dengan hasil tool ditampilkan sebagai interactive chips.

๐Ÿง  Generic Mode Situs AI-mu belum didukung? Aktifkan Generic Mode untuk mencoba pada situs AI mana pun.

๐Ÿงฉ MCP Server Eksternal Tambahkan server MCP lain (Blender, filesystem, database, custom) lewat UI ekstensi atau menu MCP Servers di aplikasi desktop โ€” berjalan berdampingan dengan Roblox MCP.

๐Ÿ›ก๏ธ Automatic Recovery Restart otomatis saat MCP server crash, pembersihan zombie StudioMCP.exe, deteksi konflik port (termasuk pembajakan seperti ropilot), crash-loop diagnostics, dan auto-reconnect.

๐Ÿ–ฅ๏ธ Desktop App Modern (Tauri) Dashboard status, live logs, manajemen MCP server, autostart, tray icon, dan auto-update โ€” tanpa jendela terminal. Python & Node.js tidak perlu diinstal pengguna.

โฌ‡๏ธ Auto-update Bridge & desktop app memeriksa versi terbaru dari GitHub Releases (default setiap 6 jam).


Situs AI yang Didukung

Mendukung 30+ situs, antara lain:

ChatGPT ยท DeepSeek ยท Claude ยท Gemini ยท Kimi ยท GLM/Z.ai ยท Qwen ยท Arena ยท Meta AI ยท Grok ยท Copilot ยท Perplexity ยท Mistral ยท Poe ยท HuggingChat ยท Pi ยท You.com ยท Phind ยท Blackbox ยท LMSYS ยท Duck.ai ยท Groq ยท Google AI Studio ยท OpenRouter ยท Cohere ยท T3 Chat ยท Together AI ยท v0 ยท ClickUp ยท dan berbagai provider lainnya.

๐Ÿ’ก Provider lain juga bisa ditambahkan โ€” lihat Menambahkan Provider Baru.


Isi Setiap Rilis

Setiap rilis di GitHub Releases dibangun otomatis oleh GitHub Actions dan berisi:

Asset Untuk apa
Aplikasi Desktop (Tauri) โ€” ZeroScript_<ver>_x64-setup.exe ยท .dmg ยท .AppImage / .deb Jalur termudah: GUI modern, bridge tersembunyi, tanpa Python/Node. Disarankan.
Paket Klasik โ€” ZeroScript-Setup-<ver>.exe ยท ZeroScript-<ver>.dmg ยท .AppImage + portable .zip Paket bridge mandiri (PyInstaller); ekstensi disertakan di dalam paket Windows & macOS (Linux: bridge saja) โ€” untuk yang suka versi lama.
Ekstensi โ€” ZeroScript-extension-<ver>.zip Ekstensi Chrome standalone untuk di-load unpacked.

๐Ÿ’ก Ekstensi tetap diperlukan di kedua jalur โ€” desktop app menjalankan & mengawasi bridge, bukan menggantikan overlay di situs AI chat.


Troubleshooting (FAQ)

Gejala Penyebab / Solusi
๐Ÿ”ด 0 tools / Studio tidak terhubung Kemungkinan konflik port 13469: periksa StudioMCP.exe lama atau aplikasi lain (mis. ropilot). Pastikan MCP server di Studio aktif.
๐ŸŸก Studio terputus setelah update Roblox Studio Studio kadang menonaktifkan MCP setelah update. Buka Assistant Settings โ†’ MCP Servers, toggle MCP OFF โ†’ ON.
๐ŸŸ  Port 17613 sudah digunakan Bridge lama masih berjalan. Tutup, lalu jalankan ulang bridge / start.bat.
โšซ Bridge offline di ekstensi Pastikan bridge masih berjalan (dashboard desktop: hijau / terminal tidak tertutup). Cek logs/start.log.
โŒ no Studio instance Studio tertutup, place belum dibuka, atau MCP server belum aktif.
โŒ Tool call tidak berjalan Pastikan tombol Start Roblox Agent sudah ditekan dan koneksi bridge aktif.
๐ŸชŸ SmartScreen / Gatekeeper memperingatkan Aplikasi belum ditandatangani: Windows klik More info โ†’ Run anyway; macOS klik kanan โ†’ Open pada kali pertama.

๐Ÿ”ด ACTION NEEDED

Jika bridge mendeteksi masalah MCP, kamu akan melihat banner merah ACTION NEEDED di Logs (desktop) atau terminal. Ikuti instruksinya sebelum mencoba lagi.


Log dan Debugging

Semua log tersimpan di folder data ZeroScript:

OS Lokasi
Windows %APPDATA%\com.zeroscript.desktop\logs\
macOS ~/Library/Application Support/com.zeroscript.desktop/logs/
Linux ~/.local/share/com.zeroscript.desktop/logs/
  • logs/start.log โ€” log launcher.
  • logs/bridge_debug.log โ€” log detail bridge (append-only).

Saat melaporkan bug, sertakan: screenshot status, isi log yang relevan, versi ZeroScript, versi Roblox Studio, dan situs AI yang dipakai.


Untuk Pengembang

Struktur Proyek

โ”œโ”€โ”€ bridge.py                  # WebSocket bridge (Python, ws://127.0.0.1:17613)
โ”œโ”€โ”€ launch_studio_mcp.py       # Pencari StudioMCP.exe terbaru
โ”œโ”€โ”€ config.json                # Daftar MCP server (primary 'roblox' dilindungi)
โ”œโ”€โ”€ zeroscript-extension/      # Ekstensi Chrome MV3 (tanpa bundler)
โ”‚   โ”œโ”€โ”€ core/                  #   config, parser, agent loop (provider-agnostic)
โ”‚   โ”œโ”€โ”€ providers/             #   satu file per situs AI (kimi.js = referensi)
โ”‚   โ””โ”€โ”€ test-parser.js         #   smoke test parser
โ””โ”€โ”€ zeroscript-desktop/        # Desktop GUI (Tauri 2 + Vite + TypeScript)
    โ””โ”€โ”€ src-tauri/             #   backend Rust: sidecar bridge, tray, autostart

Menambahkan Provider AI Baru

Sinkronkan empat tempat berikut (grep "Keep in sync" untuk daftar lain yang mirip):

  1. manifest.json โ€” tambahkan content_scripts dan host_permissions.
  2. background.js โ€” tambahkan pola URL ke PROVIDER_URLS (dan KNOWN_EXCLUDE bila perlu).
  3. core/main.js โ€” entri AI_SITES (nama harus sama dengan displayName provider).
  4. Buat providers/<situs>.js โ€” tiru providers/kimi.js (pola global ZSProvider).

Protokol Perintah (Parser)

Model AI mengeluarkan dua format yang diparsing di core/parser.js:

###LUA###
print("Hello from ZeroScript")
###END_LUA###

Scope opsional: ###LUA###:Edit (default) ยท ###LUA###:Client ยท ###LUA###:Server. Semua blok ###LUA### dipetakan ke execute_luau.

{
  "command": "create_part",
  "params": { "name": "MyPart" }
}

Menjalankan Test

cd zeroscript-extension
node test-parser.js      # satu-satunya automated test (smoke test parser)

Build Desktop GUI (dev)

cd zeroscript-desktop
npm install
npm run prepare:sidecars:stub   # placeholder; jalankan `python bridge.py` terpisah
npm run tauri dev

Mengubah Port Bridge

ZS_BRIDGE_PORT=17614 python bridge.py    # macOS/Linux
# $env:ZS_BRIDGE_PORT="17614"; python bridge.py   # PowerShell

โš ๏ธ Jika port bridge diubah, sinkronkan juga PORT di background.js.


Lisensi

MIT License โ€” gratis digunakan, dimodifikasi, dan didistribusikan dengan atribusi.

MIT License
Copyright (c) 2026 Rizki Kotet

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Kredit dan Kontribusi

ZeroScript adalah proyek modernisasi yang terinspirasi dan dikembangkan berdasarkan kode sumber proyek asli:

Kontribusi sangat terbuka:

  • ๐Ÿ› Temukan bug? Buat Issue.
  • ๐Ÿš€ Punya ide fitur? Buka Issue atau ajukan Pull Request (jelaskan perubahan, sertakan langkah reproduksi & testing).

Support

Jika ZeroScript membantu workflow development Roblox-mu, berikan โญ pada repository ini dan dukung pengembangan di Trakteer.

ZeroScript โ€” Connect AI to Roblox Studio.

Releases

Packages

Contributors

Languages