Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Roblox WebSocket ExecutionNew to Visual Studio Code? Get it now.
Roblox WebSocket Execution

Roblox WebSocket Execution

Clem.la

|
2 installs
| (0) | Free
Gives you a button to start a script from vscode into your game via a websocket from your executor. Handles multiple clients at once.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Roblox WebSocket Execution README

Multi clients support

- lua, luau, txt files accepted.

- Right click to execute/favorite a file.

- File favorite, focus on this one when global executing.

- Manage single client (Disconnect, Toggle, Execute current/favorite).

- Clients display.

- Changeable port.

- Client basic identification (name).

Run this code to connect a client

while not game:IsLoaded() do task.wait() end
local ws = WebSocket.connect("ws://localhost:2000") -- Change this if you changed the extension settings.

ws:Send("name-" .. game:GetService("Players").LocalPlayer.Name) -- Sends the name to the extension. (Needed or fail)

ws.OnMessage:Connect(function(msg)
    local bol, res = pcall(function() loadstring(msg)() end)

    if not bol then warn("Execution fail =>") ; error(res.toString()) end
end)

ws.OnClose:Connect(function() print("WebSocket closed!") end)

Executable on auto-run if executor supports.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft