Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Script Ware ExecuteNew to Visual Studio Code? Get it now.
Script Ware Execute

Script Ware Execute

Alleexxii

|
414 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Uses WebSockets to execute scripts remotely from VS Code.

Place this into your autoexec folder named whatever you like, with the .lua extension. (e.g websocket.lua)

Credits to https://marketplace.visualstudio.com/items?itemName=malakai.synapse-executor , i just edited it.

repeat wait() until game:GetService'Players'.LocalPlayer;

local ws = WebSocket.connect("ws://localhost:34522/")

ws.OnMessage:Connect(function(code)
    local suc, err = loadstring(code)
    if err then
        return warn("Error:\n" .. err)
    end
    suc()
end)

ws:Send(tostring(game:GetService'Players'.LocalPlayer.UserId))

Once it says "Authenticated as (client display name)", you can use button in your status bar to execute scripts in the current text editor.

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