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

How to do a mobile starterpack?

Hey! Does anyone know how to add a mobile starterpack so that if a mobile player joins my game they get a different tool and if a PC player joins my game then they get a different tool.

it's very important ok? if u know how then tell meeeee

2 comments

0

working on a solution that detects touch screen. will post it in 10 mins

0

sorry it is against what roblox wants you to do as explained by @FloweryMonkeyboy5

1 answer

✓ Accepted answer

You cannot explicitly detect if someone is on a mobile device from the server. Your best bet is using UserInputService.TouchEnabled but that is from a localscript only. Now you could technically use a remote event to report this.

However Roblox already posted multiple times they do not want to expose any access which allows developers to see what kind of device people are playing on [source].

I'm assuming you have 2 tools which only work for PC or mobile players. You should really just make sure you have 1 tool which can handle both of those cases.

1 comment

0

Ok

This discussion is preserved as it was. New answers, comments, and votes are closed.