Hellol I have not really known what a UDim2 value is, and I would like to try to understand it if possible. If possible, please explain what the parameters mean too.
UDim2 values are two sets of values, {Xs, Xo}, {Ys, Yo}.
They signify two things per set, scale and offset. Scale being a percentage of the viewport size, and offset being a pixel addend, used to offset the Scale if it isn't precise enough. Never strictly use offset unless you absolutely must, because it doesn't scale with the viewport.
An few examples would be, with a viewport size of 1920x1080, scale 0.5 on X would give you 1920/2x1080, or 960/1080; or something like with a viewport size of 1280x720, 0.254 scale on both X and Y would give you 1280*0.254x720*0.254.