VS Code Extensions
Volt VSC

Volt VSC

by 0z0ns

Run scripts from VS Code to a connected executor over WebSocket with instance targeting and editor controls.

Downloads

65

Rating

5.0 / 5 (1)

Version

0.0.1

Last updated

Apr 04, 2026

Run scripts directly from VS Code into your executor over WebSocket.

Setup

  1. Install the extension
  2. Place the following script in your executor's autoexec folder:
local WS_HOST = "ws://localhost:7777"
local RECONNECT_DELAY = 5

local Players = game:GetService("Players")
local player = Players.LocalPlayer
if not player then
    repeat task.wait(0.1) until Players.LocalPlayer
    player = Players.LocalPlayer
end

local function connect()
    local ok, socket = pcall(function()
        return WebSocket.connect(WS_HOST)
    end)

    if not ok then
        task.delay(RECONNECT_DELAY, connect)
        return
    end

    pcall(function()
        socket:Send("__VOLT_USER__:" .. player.Name)
    end)

    socket.OnMessage:Connect(function(script)
        local fn, _ = loadstring(script)
        if not fn then return end
        pcall(fn)
    end)

    socket.OnClose:Connect(function()
        task.delay(RECONNECT_DELAY, connect)
    end)
end

connect()

Usage

  • Open a script in VS Code
  • Launch your executor — it will connect automatically and appear in the status bar
  • Click the Run button (▶) in the editor title bar to send the script
  • Click the account icon next to it to target a specific instance or all instances