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)
repeat wait() until game:GetService'Players'.LocalPlayer;
local ws = syn.websocket.connect("ws://localhost:34521/")
ws.OnMessage:Connect(function(code)
local suc, err = loadstring(code)
if err then
return warn("Error:\n" .. err)
end
suc()
end)
ws:Send(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.