Introduction
Example
Breakdown
The highlighted value is an UDim (U-Dimension)
What is an UDim?
Scale
The scale value in an UDim is a direct scale based from the screen for the axis it represents. All you need to know is, in BillboardGuis the scale is measured by studs and if it or the window is scaled, the frame's size will follow with the window. Notice how the frame changes size with the window.Example:
Offset
Unlike scale, the offset is measured by pixels in both windows and BillboardGuis. With offset, you'll also see how the frame keeps own it's size; even if the window can't fit the frame. You'll need to keep this in-mind for the fix.Example:
Fix
To fix this issue, you just have the make the frame and BillboardGui’s size use the UDim scale value. Remember, the scale changes size with the window. In this case, it will get smaller if you move away for it.
End
Helpful links:
https://developer.roblox.com/en-us/api-reference/datatype/UDim
https://developer.roblox.com/en-us/api-reference/datatype/UDim2