[[client]]
Function exists on the client only.
Syntax
Section titled “Syntax”[[client]]void UpdateUI() { }Parameters
Section titled “Parameters”None.
Return value
Section titled “Return value”Per function.
Luau emit
Section titled “Luau emit”omitted on server files; RunService:IsClient() wrapper in modules
Description
Section titled “Description”Mirror of [[server]].
Example
Section titled “Example”[[client]]void UpdateUI() {}Emits:
-- emitted only when the file is a LocalScript / IsClient()