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

What precautions can be made to detect what device Roblox is being played on?

Asked by 7 years ago

My Gui gets all out of sorts when I play my game on Roblox via android

I thought this would work

local pasta = Script.Parent

pasta.Size= UDim2(0,0,0.5,50,)
pasta.Position = UDim2.new( 0,500,0,50)

. But that is a no go, because it doesn't get my desired result on android.

So what do I do to get the gui in the correct position and size in every resolution.

0
You actually can't I don't believe. Maybe I'm wrong. OldPalHappy 1477 — 7y
0
you can use http://wiki.roblox.com/?title=API:Class/UserInputService and check wich things are enabled. RubenKan 3615 — 7y
0
You may want to remove the extra comma on UDim2(0,0,0.5,50,) thehybrid576 294 — 7y

Answer this question