Best method of detecting the player's platform (e.g. mobile, xbox, computer)

What’s your use case for wanting to do this?

You should read later on in this thread before implementing this:
https://devforum.roblox.com/t/device-type-detection/26112

Typically, you shouldn’t need to know what the platform the user is on, unless you are trying to track some analytics related to platform. (pretty much the only use case where getting the platform is interesting)

7 Likes