Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
AvatarPromptResult
Indicates the outcome of a prompt operation initiated by AvatarEditorService. Each Prompt method on the service (such as AvatarEditorService:PromptSaveAvatar(), AvatarEditorService:PromptSetFavorite(), and AvatarEditorService:PromptCreateOutfit()) displays a native dialog to the user and fires a corresponding Completed event that passes this enum as its result parameter.
- Success — the user confirmed the prompt and the back-end request completed without error.
- PermissionDenied — the user dismissed the prompt or otherwise declined to grant the requested permission.
- Failed — an error occurred while processing the request (for example, a network failure or an invalid response from the server).
Items
| Name | Value | Description |
|---|---|---|
| Success | 1 | The prompted action was completed. |
| PermissionDenied | 2 | Denied permission to take the prompted action. |
| Failed | 3 | Failure while trying to take the prompted action. |
Success
The prompted action was completed.
| Field | Value |
|---|---|
| value | 1 |
PermissionDenied
Denied permission to take the prompted action.
| Field | Value |
|---|---|
| value | 2 |
Failed
Failure while trying to take the prompted action.
| Field | Value |
|---|---|
| value | 3 |