Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>KRNL Execute ExtensionNew to Visual Studio Code? Get it now.
KRNL Execute Extension

KRNL Execute Extension

kaisei-kto

|
4,548 installs
| (2) | Free
Executes the code from your Visual Studio Code's current tab
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Krnl Execute Extension

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()
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft