Run scripts directly from VS Code into your executor over WebSocket.
Setup
Install the extension
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