
4.6k Views
50 Executions
Does it work?
Early reports100% say it works · 1 report in the last 2 weeks
Also noticed:
Description
websocket tester, echos your username every 2 seconds
local WebSocket = WebSocket.connect("wss://echo.websocket.org") -- Specify your WebSocket URL here.
print("Connected.")
WebSocket.OnMessage:Connect(function(Msg)
print("Message: ")
print(Msg)
end)
local Ctr = 1
while wait(1) do
print("Sending your username...")
WebSocket:Send(game.Players.LocalPlayer.Name)
Ctr = Ctr + 1
if Ctr == 5 then
print("Closing connection...")
WebSocket:Close() -- Close the websocket when you are done! (this is done implicitly on teleports aswell)
do return end
end
end










Waht is this imperial?
G g
Script does not serve a purpose for most (all) people on scriptblox, consider unlisting or privating the script.
@voltex ??and who are you omg