Classes
RemoteEventService
RemoteEventService
is used for communicating between client and server, and vise-versa
You cannot Instance this class with
Instance.new()
Functions
PushToClient(string username, string eventName, ...)
This function can only be called by the server.
PushToAllClients(string eventName, ...)
This function can only be called by the server.
SendEventToServer(string eventName, ...)
This function can only be called by the client.
ConnectEvent(string eventName, ...)
This function can be called by both the client and the server.
eventName
is fired by the server or the client: the connected function will be called. An example: