Pretty much I can’t understand how autoscaling works and I mainly use plugins. I’m trying to autoscale one of my hubs built by my friend, but it just doesn’t seem to work.
The tutorial clearly states to only autoscale the children of the screenGui and not its descendants. Well… That’s exactly what I’ve done and literally nothing seems to still work. I’ve even tried the dum dum way and autoscale everything, but that still doesn’t effect it at all. What it seems to be doing is only scaling the “MainBackground” and nothing else. Should I add a frame as the parent of everything or what? I’m confused.
You should check to see if any of your items are using the Offset settings. Anything that is using Offset won’t change its size for different devices. If anything is using Offset, change it to scale and remove any form of Offset. Keep that at a 0.
The same effect seemed to happen once I clicked it to just convert from offset to the same exact thing/offset again. I noticed that it changes the offset from 350 to 296. Any idea why it does so, @MillerrIAm?
You need to change the size and position, I would recommend only changing the Size as the Position should already be on the Scale Size. The position changes because you’re changing the Position of the GUI.
Well then, you just need to reposition the U.I after changing everything to scale. Once it’s set to scale, it will stay in scale while you drag it around and resize it.
local g = item.Parent.AbsoluteSize -- should be a Gui object or ScreenGui
local x,y = g.X, g.Y
item.Size = UDim2.new(item.Size.X.Scale + (item.Size.X.Offset/ x), 0, item.Size.Y.Scale + (item.Size.Y.Offset/ y), 0)
If you don’t want to do this manually, just select all Gui objects and use my plugin to convert the size and position just using scale, look into the source too if you can.