I have a GUI that is for my computer. But when I boot it up on a larger screen it is a messed up. Is there a way to auto size a GUI or load a specific GUI according to your device? So that I am able to have a large GUI for computer and a smaller one for phone. Any way to do this?
Solution
Don't use offset instead use scale. Here is a plugin that does the work for you.
Offset to scale plugin
All you have to do is create a UI element and click on it then press the plugin button at the top of the screen (you need to be in the plugins tab). It will be converted to scale which resizes to all screens.
Alternate solution
Scale uses values between 0, and 1 (0 being 0% of the screen and 1 being 100% of the screen) so if you don't want to use the plugin this example would size and element half the screen size:
X: 0.5
Y: 0.5
Hope this helps!
Closed as off-topic by User#19524
This question has been closed by our community as being off-topic from ROBLOX Lua Scripting.
Why was this question closed?