generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Find out what device the user is on?

Previous Thread :: Next Thread 
AutoCarrot is not online. AutoCarrot
Joined: 24 Oct 2013
Total Posts: 5588
03 Aug 2016 12:37 PM
Is there a way to just get it? Or something involving UIS?




WolfgangVonPrinz // Private Drive - Residents Only
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
03 Aug 2016 12:39 PM
Game:GetService('UserInputService').TouchEnabled
if its enabled they are on a touch screen device

most likely a phone or ipad
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
03 Aug 2016 12:40 PM
^


( ͡• ◡ ͡•) -=[ RAP: 370,438 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
03 Aug 2016 12:42 PM
i would also do and if keyboard enabled is false because there are touchscreen monitors


Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
03 Aug 2016 12:52 PM
^hadn't thought of that but very good
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
03 Aug 2016 12:55 PM
My laptop has a keyboard and touch screen. :3
Might be a little tricky to tell the difference? I can also plug my phone into my comp and use my keyboard with it. xD
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
03 Aug 2016 12:57 PM
Same for Xbox One I can plug my keyboard into it too.
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
03 Aug 2016 01:06 PM
Maybe its better if they just release an enum of a player's device. I'm pretty sure someone had suggested this before.


( ͡• ◡ ͡•) -=[ RAP: 370,438 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
03 Aug 2016 01:08 PM
They also already have it. But of course it's only allowed to be used in CoreScripts because Roblox releases massively useful and widely requested features for the sole use of administrators.


http://wiki.roblox.com/index.php?title=API:Enum/Platform
http://wiki.roblox.com/index.php?title=API:Class/UserInputService/GetPlatform


Report Abuse
Twister_1976 is not online. Twister_1976
Joined: 17 Sep 2010
Total Posts: 2494
03 Aug 2016 01:11 PM
LOL WIIU

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
03 Aug 2016 01:16 PM
People made a lot of DOS jokes on twitter when this Enum came out.

"I can't wait for Roblox to be released on DOS!!"
"All aboard the hype train for #RobloxOnDOS!"


Report Abuse
AutoCarrot is not online. AutoCarrot
Joined: 24 Oct 2013
Total Posts: 5588
03 Aug 2016 02:50 PM
Roblox on DOS XD


WolfgangVonPrinz // Private Drive - Residents Only
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
03 Aug 2016 02:51 PM
Well that's stupid. Something which is useful yet we can't use it? Great going, ROBLOX.


( ͡• ◡ ͡•) -=[ RAP: 370,438 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
03 Aug 2016 02:53 PM
that's like api.roblox.com ^
Report Abuse
DurstAuric is online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
03 Aug 2016 02:55 PM
I know right?

"Here's some useful stuff. Feel free to look at it, but only us higher-ups can use them."


( ͡• ◡ ͡•) -=[ RAP: 370,438 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image