Hello, I have tried using Scale, UIAspectRatio and Emulator to scale and position my guis, the thing is, in other resolutions its not really the case....
I don't know if this is a thing that can be solved with scripting and I do not know if this is the right place... I heard you can do that with scripting, but Idk..
Help, Suggestions please?
It actually pretty easy. A UDim2 in the properties panel looks like this: {0, 0}{0, 0} The first set of brackets is the X position, the second is the Y. But why two sets of numbers? The first set is actually the percentage of the screen. Don't get it?
0 means 0(obviously)
1 means the whole screen(so if you put {1, 0}{1, 0}, it would mean the whole screen if used in the size property)
0.5 means half the screen, etc.
Getting it now? The second set of numbers is the offset, AKA the number of pixels. It is highly recommended to use the Scaling property of GUI UDim2 than the offset(at least I highly recommend it). So your size and positions should look like this {0.5, 0}{0.3, 0} instead of {0, 500}{0, 250} (just random measurements)
Try making all your GUIs using this. Let me know. Sorry if you already tried this, I'm just trying to help.
Ok, this isn't too hard.
Let's say you want it to stay at the right and middle of the screen.
First, we need the size. Let's say the size is:
0.1,100,0.1,100
Now, for the position part, it's easier to show you than explain.
position = 0.03, -50, 0.5, -50
As you can see, the 2nd and 4th numbers are the 2nd and 4th numbers of the size, except divided in half, and put into the negatives.
This will make it to the left of the screen and in the middle for ALL screens.
alvinBLOX made a handy video showing on how to put it in the centre of the screen for all players, and he explains what I showed you a lot better:
https://www.youtube.com/watch?v=k8NP-dqByp4
If this helped, please put it as "answered". Thanks!