Enhance your Roblox experience by executing Lua scripts seamlessly through WebSockets, directly from Visual Studio Code.
Either execute this script, or more preferably put it into your AutoExec folder.
repeat wait() until game:IsLoaded()
while wait(1) do
pcall(function()
local ws = WebSocket.New("ws://localhost:33882/")
if not ws then
return
end
ws:Send("auth:" .. game.Players.LocalPlayer.Name)
ws.OnMessage:Connect(function(msg)
local func, err = loadstring(msg)
if err then
ws:Send("compile_err:" .. err)
return
end
pcall(func)
end)
ws.OnClose:Connect(function()
print("WebSocket connection closed")
end)
while ws do wait() end
end)
endFeel free to DM me on discord @h_8r
Creators: monte & yafyz (Synapse X Execute)