Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
Platform
The Platform enum is used to determine the operating system of the client.
Items
| Name | Value | Description |
|---|---|---|
| Windows | 0 | The client is running on a Windows Operating System. |
| OSX | 1 | The client is running on OSX (Apple desktop). |
| IOS | 2 | The client is running on IOS (Apple mobile). |
| Android | 3 | The client is running on Android (Google mobile). |
| XBoxOne | 4 | The client is running on an XBox One (console). |
| PS4 | 5 | The client is running on a PS4 (console). |
| PS3 | 6 | The client is running on a PS3 (console). |
| XBox360 | 7 | The client is running on an XBox 360 (console). |
| WiiU | 8 | The client is running on a Wii U (console). |
| NX | 9 | The client is running on an NX Operating System (Cisco Nexus). |
| Ouya | 10 | The client is running on an Ouya Operating System (Android-Based). |
| AndroidTV | 11 | The client is running on an Android TV. |
| Chromecast | 12 | The client is running on Chromecast. |
| Linux | 13 | The client is running on a Linux Operating System (desktop). |
| SteamOS | 14 | The client is running on Steam. |
| WebOS | 15 | The client is running on WebOS. |
| DOS | 16 | The client is running on DOS. |
| BeOS | 17 | The client is running on BeOS. |
| UWP | 18 | The client is running on UWP. |
| PS5 | 19 | The client is running on a PS5 (console). |
| MetaOS | 20 | The client is running on Meta OS (Meta Quest VR platform). |
| Web | 21 | The client is running in a web browser. |
| None | 22 | The client's operating system is unknown. |
Windows
The client is running on a Windows Operating System.
| Field | Value |
|---|---|
| value | 0 |
OSX
The client is running on OSX (Apple desktop).
| Field | Value |
|---|---|
| value | 1 |
IOS
The client is running on IOS (Apple mobile).
| Field | Value |
|---|---|
| value | 2 |
Android
The client is running on Android (Google mobile).
| Field | Value |
|---|---|
| value | 3 |
XBoxOne
The client is running on an XBox One (console).
| Field | Value |
|---|---|
| value | 4 |
PS4
The client is running on a PS4 (console).
| Field | Value |
|---|---|
| value | 5 |
PS3
The client is running on a PS3 (console).
| Field | Value |
|---|---|
| value | 6 |
XBox360
The client is running on an XBox 360 (console).
| Field | Value |
|---|---|
| value | 7 |
WiiU
The client is running on a Wii U (console).
| Field | Value |
|---|---|
| value | 8 |
NX
The client is running on an NX Operating System (Cisco Nexus).
| Field | Value |
|---|---|
| value | 9 |
Ouya
The client is running on an Ouya Operating System (Android-Based).
| Field | Value |
|---|---|
| value | 10 |
AndroidTV
The client is running on an Android TV.
| Field | Value |
|---|---|
| value | 11 |
Chromecast
The client is running on Chromecast.
| Field | Value |
|---|---|
| value | 12 |
Linux
The client is running on a Linux Operating System (desktop).
| Field | Value |
|---|---|
| value | 13 |
SteamOS
The client is running on Steam.
| Field | Value |
|---|---|
| value | 14 |
WebOS
The client is running on WebOS.
| Field | Value |
|---|---|
| value | 15 |
DOS
The client is running on DOS.
| Field | Value |
|---|---|
| value | 16 |
BeOS
The client is running on BeOS.
| Field | Value |
|---|---|
| value | 17 |
UWP
The client is running on UWP.
| Field | Value |
|---|---|
| value | 18 |
PS5
The client is running on a PS5 (console).
| Field | Value |
|---|---|
| value | 19 |
MetaOS
The client is running on Meta OS (Meta Quest VR platform).
| Field | Value |
|---|---|
| value | 20 |
Web
The client is running in a web browser.
| Field | Value |
|---|---|
| value | 21 |
None
The client's operating system is unknown.
| Field | Value |
|---|---|
| value | 22 |