You must run this command in command prompt as administrator!
If you do not run this, this extension & script will not work!
CheckNetIsolation LoopbackExempt -a -n="ROBLOXCORPORATION.ROBLOX_55nm5eh3cm0pr"
SCRIPT
local function connect()
local wait_time = 0
local success, socket = xpcall(WebSocket.connect, function()
rconsolename('Krnl Execute - Debug Output')
rconsoleerr('[RETRYING IN 3 SECONDS] Failed to connect, please open Visual Studio Code!')
wait_time = 3
end, 'ws://[::1]:16640/')
if (success) then
local connected = true
socket.OnMessage:Connect(function(data)
if (data == 'pong') then
connected = true
return
end
loadstring(data)()
end)
while (connected) do
connected = false
socket:Send('ping')
wait(3)
end
end
task.delay(wait_time, connect)
end
connect()