getfflag
Gets a Roblox Fast Flag value.
Syntax
getfflag(name: string) -> stringParameters
| Parameter | Type | Description |
|---|---|---|
name | string | The flag name |
Returns
| Type | Description |
|---|---|
string | The flag value |
Description
getfflag retrieves the current value of a Roblox Fast Flag.
Example
-- Get current target FPS
local fps = getfflag("DFIntTaskSchedulerTargetFps")
print("Target FPS:", fps)
-- Check if a feature is enabled
local enabled = getfflag("FFlagSomeFeature")
print("Feature enabled:", enabled == "true")Related Functions
setfflag- Set flag value