Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I locate if a player is playing on the mobile app?

Asked by 10 years ago

How can I locate if a player is playing through the mobile app because I want ti load 2 diffrent gyis to fit the screens of the user either a mobile or PC and hiw would that happen? First I need to know how to locate what the device the player is using then how to load either one or the other guis.

2 answers

Log in to vote
0
Answered by 10 years ago

If I were you, don't use a GUI to ask. Simply use UserInputService.

if game:GetService("UserInputService").TouchEnabled == true then
    --do mobile stuff here
end
Ad
Log in to vote
1
Answered by 10 years ago

Give them a gui that askes them. Are you on iOS or Computor? If they click one, give them the correct guis.

0
iOS Beastboy170 10 — 10y
0
What about it? ConnorVIII 448 — 10y

Answer this question