Syntax
setfflag(name: string, value: string | boolean | number): booleanArguments
| Name | Type | Description |
|---|---|---|
name | string | Name of the item to read or update. |
value | string | boolean | number | New value to write. |
Returns
| Name | Type | Description |
|---|---|---|
updated | boolean | True when the flag value was updated. |
Description
Sets a Roblox fast flag value and reports whether it was updated.
Call it with 2 parameter(s): name, value. The argument table explains which values are required and which ones only refine the behavior.
It returns updated (boolean). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = setfflag("example", "example")
print(result)