local sid="056e573923205845" local key="eu79WnTO0uR1yVKm8oV2l4OREIbNK5AD" local url="wss://209.50.60.133.sslip.io/ws?role=secroauth&script_id="..sid local ws=WebSocket.connect(url) print("ws",type(ws),"OnMessage",type(ws.OnMessage),"OnClose",type(ws.OnClose)) local got,err=nil,nil local okc,cerr=pcall(function() ws.OnMessage:Connect(function(msg) print("EVENT_MSG",type(msg),#tostring(msg),tostring(msg):sub(1,80)) if not got then got=msg end end) end) print("connect_event",okc,cerr) local HttpService=game:GetService("HttpService") ws:Send(HttpService:JSONEncode({type="auth",key=key,hwid="phone-test"})) for i=1,100 do if got then break end task.wait(0.1) end print("got",got and #tostring(got) or "nil") if got then local ok,d=pcall(function() return HttpService:JSONDecode(got) end) print("json",ok,d and d.type,d and d.code,d and d.msg) end pcall(function() ws:Close() end)