Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
DefaultScriptSyncFileType
Specifies whether Studio writes synced script files with a .lua or .luau extension when using the file sync (external editor) workflow. The active value is read from Studio.DefaultScriptSyncFileType. Defaults to DefaultScriptSyncFileType.Luau.
Items
| Name | Value | Description |
|---|---|---|
| Lua | 0 | Script files are synced to the filesystem with a .lua extension. |
| Luau | 1 | Script files are synced to the filesystem with a .luau extension. |
Lua
Script files are synced to the filesystem with a .lua extension.
| Field | Value |
|---|---|
| value | 0 |
Luau
Script files are synced to the filesystem with a .luau extension.
| Field | Value |
|---|---|
| value | 1 |