I'm about to develop a cross platform game. However, I want the interface to be different for Mobile users compared to PC users.
How do you usually identify when someone is playing the game on their smartphone? This will be critical in implementation of the GUIs.

5 comments
Game:GetService('UserInputService').TouchEnabled
If it's true,then they're on mobile.
Thanks
Wait, couldn't that also trigger when user has a laptop touchscreen?
You might be able to determine the device type by checking for a Gyroscope and Accelerometer. Learn more at: http://wiki.roblox.com/index.php?title=API:Class/UserInputService