Whenever I try to change the size of the text label to be equal to the size of the screen it errors with “offset cannot be assigned to”. The reason I’m doing this is for some weird reason when I set the scale to 1 it isn’t long enough.
1 Like
I belive you can se the scale to be bigger than 1
1 Like
Correct me if I’m wrong, but based on the error I believe you tried to do something like this:
textLabel.Size.X.Offset = xOffset
textLabel.Size.Y.Offset = yOffset
Try this instead:
textLabel.Size = Udim2.fromOffset(xOffset, yOffset)
If you also want to use scale, do this:
textLabel.Size = Udim2.new(xScale, xOffset, yScale, yOffset)
1 Like