Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VoiceChatState
Describes the connection state of a local player's voice chat session. The session progresses through the VoiceChatState items from idle, through joining, to joined, and then to leaving, ended, or failed when the session concludes.
Items
| Name | Value | Description |
|---|---|---|
| Idle | 0 | The player is not connected to voice chat and no join attempt is in progress. |
| Joining | 1 | A voice chat join attempt is in progress for the first time. |
| JoiningRetry | 2 | A voice chat join is being retried after a previous attempt did not succeed. |
| Joined | 3 | The player has successfully joined the voice chat session and is actively connected. |
| Leaving | 4 | The player is in the process of disconnecting from the voice chat session. |
| Ended | 5 | The voice chat session has ended normally. |
| Failed | 6 | The voice chat session ended due to an error, such as a failure to join or a mid-session error. |
Idle
The player is not connected to voice chat and no join attempt is in progress.
| Field | Value |
|---|---|
| value | 0 |
Joining
A voice chat join attempt is in progress for the first time.
| Field | Value |
|---|---|
| value | 1 |
JoiningRetry
A voice chat join is being retried after a previous attempt did not succeed.
| Field | Value |
|---|---|
| value | 2 |
Joined
The player has successfully joined the voice chat session and is actively connected.
| Field | Value |
|---|---|
| value | 3 |
Leaving
The player is in the process of disconnecting from the voice chat session.
| Field | Value |
|---|---|
| value | 4 |
Ended
The voice chat session has ended normally.
| Field | Value |
|---|---|
| value | 5 |
Failed
The voice chat session ended due to an error, such as a failure to join or a mid-session error.
| Field | Value |
|---|---|
| value | 6 |