syn. create_secure_function Synchronous
syn.protect_guisyn.run_secure_functionsyn.secrunsyn.unprotect_gui
A compatibility placeholder for code that checks for a Synapse-style secure-function helper. Kawaii accepts the call but does not create or wrap a function.
Luau
syn.create_secure_function(...ignored: any) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
...ignored | any | Arguments are accepted and ignored. |
Returns
()No values. The call has no effect.
Usage notes
Do not treat the call as a security boundary or assume it changed the function you passed.
Availability
This function requires the Synapse environment setting, which is off by default.
Example
Luau
local callback = function() print("still an ordinary callback") end
syn.create_secure_function(callback)
callback()