ClientRemoteEvent
This item only works when running on the client. Client
Client-side remote event class for receiving and sending events to the server.
Functions
Connect
ClientRemoteEvent:
Connect
(
fn:
(
...:
any
)
→
(
)
) →
Connection
Connects a function to the remote signal. The function will be called anytime the equivalent server-side RemoteSignal is fired at this specific client that created this client signal.
Fire
ClientRemoteEvent:
Fire
(
...:
any
) →
(
)
Fires the equivalent server-side signal with the given arguments.
Outbound Middleware
All arguments pass through any outbound middleware before being sent to the server.