1 min read

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

NameValueDescription
Lua0Script files are synced to the filesystem with a .lua extension.
Luau1Script files are synced to the filesystem with a .luau extension.

Lua

Script files are synced to the filesystem with a .lua extension.

FieldValue
value0

Luau

Script files are synced to the filesystem with a .luau extension.

FieldValue
value1