Through a websocket it allows to connect the Synapse X exploit
with visual studio code allowing the execution of scripts.
How to use?
You can run the script below or else. I recommend placing this script in the autoexec folder.
repeat task.wait() until game:IsLoaded()
while task.wait() do
pcall(function()
local LocalPlayer = game:GetService("Players").LocalPlayer;
local connection = syn.websocket.connect("ws://localhost:55555/")
connection:Send("Client: "..LocalPlayer.Name)
connection.OnMessage:Connect(function(call)
local callback, output = loadstring(call);
if not callback then
connection:Send("Runtime◘ "..output); --Error Runtime
else
local status, console = pcall(callback) --Error Compile
if console then connection:Send("Compile◘ "..console) end
end
end)
connection.OnClose:Wait()
end)
end
Image:
In the output visual studio code section you will have a custom output although at the moment it only works with errors.
Reminders
Remember that the extension is only activated with .lua files.
For greater comfort in the Synapse X Exploit options, just activate the autolaunch to avoid constantly opening the interface and pressing the attach button.