Hi! I need a hand, I have read the documentation and seen some posts in the forum but it has not been very helpful, someone could explain to me what it is used for, how do i use it and if you guys could show me some example of code commented, please, I would appreciate it very much.
UDim2 is basically a Position/Size value for GUIObjects. Letโs say you want this GUIObject to be the whole screen, and itโs 0,100,0,100 (or something else) size. Do this:
script.Parent.Size = UDim2.new(1,0,1,0)
Hope this helps! You can also use TweenService for this, which I highly recommend instead of just instantly scaling it.