cansignalreplicate Synchronous
Check whether Kawaii recognizes a replication path for a Roblox signal before attempting replicatesignal. A true result means the signal has a supported path, not that every argument or current game state is valid.
Luau
cansignalreplicate(signal: RBXScriptSignal) -> booleanParameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | RBXScriptSignal to check. |
Returns
booleantrue when a supported replication callback or special event path is available; false otherwise.
Usage notes
Ordinary local events such as BindableEvent.Event usually return false. Kawaii recognizes a small set of engine replication callbacks and special cases.
Example
Luau
local event = Instance.new("BindableEvent")
print(cansignalreplicate(event.Event)) -- usually false
event:Destroy()