PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

NetworkClient

Show deprecated

NetworkClient

Show deprecated

This service is responsible for connecting a client to a server.


Properties

string

Ticket

The client’s authorization ticket. This is only used when connecting to non-local Roblox servers.

Functions

Events

RBXScriptSignal

ConnectionAccepted ( string peer , Instance replicator )

Fired when the client successfully connects to a server. Returns a string showing the server’s IP and Port, and the client’s ClientReplicator.

RBXScriptSignal

ConnectionFailed ( string peer , int code , string reason )

Fired if the client fails to connect to the server.

RBXScriptSignal

ConnectionRejected ( string peer )

Fires if the client tries to connect to a server, but the request to join was rejected.
This usually occurs when the client isn’t on the right version of Roblox.