Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
LuauTypeCheckMode
Determines how strictly the Luau type checker analyzes scripts in the experience. This enum is used by Workspace.LuauTypeCheckMode.
Items
| Name | Value | Description |
|---|---|---|
| Default | 0 | Uses the engine-default type checking mode. |
| NoCheck | 1 | Scripts are not type-checked. |
| Nonstrict | 2 | Scripts are type-checked in nonstrict mode. |
| Strict | 3 | Scripts are type-checked in strict mode. |
Default
Uses the engine-default type checking mode.
| Field | Value |
|---|---|
| value | 0 |
NoCheck
Scripts are not type-checked.
| Field | Value |
|---|---|
| value | 1 |
Nonstrict
Scripts are type-checked in nonstrict mode.
| Field | Value |
|---|---|
| value | 2 |
Strict
Scripts are type-checked in strict mode.
| Field | Value |
|---|---|
| value | 3 |