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.

DraftStatusCode

State of a script draft from GetDraftStatus and from CommitStatusChanged / UpdateStatusChanged. See individual items for in-sync, outdated, committed, and removed-script outcomes.

Items

NameValueDescription
OK0The draft is in sync with the server's base version and has no blocking conflicts.
DraftOutdated1The server version of the script has advanced beyond the base version used when the draft was created, so the draft must be updated before it can be committed.
ScriptRemoved2The script referenced by the draft no longer exists in the data model.
DraftCommitted3The draft was successfully committed to the server and removed from the local sandbox.

OK

The draft is in sync with the server's base version and has no blocking conflicts.

FieldValue
value0

DraftOutdated

The server version of the script has advanced beyond the base version used when the draft was created, so the draft must be updated before it can be committed.

FieldValue
value1

ScriptRemoved

The script referenced by the draft no longer exists in the data model.

FieldValue
value2

DraftCommitted

The draft was successfully committed to the server and removed from the local sandbox.

FieldValue
value3