How can I make a button so that on enter a player can pick mobile or desktop gui because i am going to try this method instead of a load if the player is in the mobile.
✓ ANSWER ACCEPTED
How do I make a gui button that could pick load a gui?
1 answer
✓ Accepted answer
Tkdriverx is right. You'd do this:
if game:GetService("UserInputService").TouchEnabled == true then
--give the prompt, since the person might have a touchscreen computer, and do other stuff
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Just make it so it automatically chooses for the player, not prompt the player. The player may get annoyed by that. If it detects a touch screen, then prompt, because they might have a touch-screen computer.