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

Roblox Execute

Spoorloos

|
2,000 installs
| (2) | Free
Clean and well coded roblox execute extension.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Put the following script in your autoexec folder and launch the game, If it connects successfully the execute button will appear in your status bar.

local WebSocket = assert(
    WebSocket or Websocket or websocket or (syn and syn.websocket),
    "Your executor is missing a websocket API!"
)

if not game:IsLoaded() then
    game.Loaded:Wait()
end

while true do
    local success, client = pcall(WebSocket.connect, "ws://localhost:33882/")
    if success then
        client.OnMessage:Connect(function(payload)
            local callback, exception = loadstring(payload)
            if exception then
                error(exception, 2)
            end

            task.spawn(callback)
        end)

        client.OnClose:Wait()
    end

    task.wait(1)
end
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft