- File favorite, focus on this one when global executing.
- Manage single client (Disconnect, Toggle, Execute current/favorite).
- Clients display.
- Changeable port.
- Client basic identification (name).
Run this code to connect a client
while not game:IsLoaded() do task.wait() end
local ws = WebSocket.connect("ws://localhost:2000") -- Change this if you changed the extension settings.
ws:Send("name-" .. game:GetService("Players").LocalPlayer.Name) -- Sends the name to the extension. (Needed or fail)
ws.OnMessage:Connect(function(msg)
local bol, res = pcall(function() loadstring(msg)() end)
if not bol then warn("Execution fail =>") ; error(res.toString()) end
end)
ws.OnClose:Connect(function() print("WebSocket closed!") end)