replicatesignal
Uses the outbound replication path of a supported engine signal.
Check cansignalreplicate before use. The function does not make arbitrary events replicable; server-side behavior and validation still determine the result.
replicatesignal(signal: RBXScriptSignal, ...: any): ()Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | Signal with a client-callable outbound path. |
... | any | Values matching its declared signature. |
See Signal for the object’s members.
Example
local function sendSupportedSignal(signal, ...)
if cansignalreplicate(signal) then
replicatesignal(signal, ...)
end
endErrors: An unsupported signal or a signature mismatch raises an error.
