Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a gui button that could pick load a gui?

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.

1 comment

0

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.

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.