Sets one of Luau’s own fast flags. Both arguments are strings, matching getluaufflag’s string return.
These flags control the compiler and VM that Athena uses to run your scripts. Changing one can alter how later loadstring calls compile, or destabilise the VM. Change them only when you know what the flag does.

Parameters

string
required
The flag’s name, without the FFlag/FInt prefix.
string
required
The new value as a string. For a boolean flag, "true"/"1" and "false"/"0" are accepted.

Returns

Nothing.

Behavior

  • Unknown names are ignored rather than raising.
  • Already-compiled code is unaffected. A compiler flag changes what is compiled from then on, not what already ran.

Example

Errors