We use cookies on this site to enhance your user experience

LuaSettings

LuaSettings

The LuaSettings allows you to change certain properties, in regards to how Roblox handles Lua.
It is labeled as Lua in the Roblox Studio Settings menu.


Properties

Name Type Description
bool

Toggles whether or not script starts are logged in the output.
If set to true, the output will print blue text indicating what scripts are running, and their origin point in the DataModel.

double

How long a call to wait() with no arguments will yield.

int

How many heartbeats there are between manual GC steps in Lua.

int

The ideal limit above which Roblox triggers aggressive garbage collection, in average KB per LuaSettings/GcFrequency.

int

Sets the size of pauses between successive garbage collections in Lua.

int

Sets the value of Lua’s garbage collection step multiplier, which controls the ‘granularity’ of Lua’s garbage collector.

float

Sets the maximum percent of Roblox’s duty cycle that can be used to resume waiting Lua threads.

This defaults to 0.1 (or 10%)

Inherited from Instance

Archivable ClassName DataCost Name Parent RobloxLocked