Skip to content

DraftStatusCode

Not yet Enum

Describes the state of a script draft tracked by DraftsService.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

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

Items

Item Value Status Notes
OK 0 Not yet The draft is in sync with the server's base version and has no blocking conflicts.
DraftOutdated 1 Not yet 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.
ScriptRemoved 2 Not yet The script referenced by the draft no longer exists in the data model.
DraftCommitted 3 Not yet The draft was successfully committed to the server and removed from the local sandbox.

Roblox reference: DraftStatusCode