
4.6k Views
51 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
websocket tester, echos your username every 2 seconds
Updates
Script edited: Update script
Script edited: Create script
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