|
| 22 May 2016 04:18 PM |
| Pls leave an example I can work off of |
|
|
| Report Abuse |
|
|
Erediin
|
  |
| Joined: 13 Mar 2016 |
| Total Posts: 756 |
|
| |
|
|
| 22 May 2016 04:23 PM |
| The wiki just says that it returns a vector 2 as the size of the text labels text. I don't know what to do with that vector 2 |
|
|
| Report Abuse |
|
|
Erediin
|
  |
| Joined: 13 Mar 2016 |
| Total Posts: 756 |
|
|
| 22 May 2016 04:24 PM |
search on the wiki "Vector2"
|
|
|
| Report Abuse |
|
|
|
| 22 May 2016 04:26 PM |
| Ohh so there width and height |
|
|
| Report Abuse |
|
|
guges
|
  |
| Joined: 07 May 2016 |
| Total Posts: 1515 |
|
|
| 22 May 2016 04:29 PM |
It's basically a vector but with two dimensions. You can use the x and y dimensions to scale your gui.
local textSize = randomGui.TextBounds local newSize = UDim2.new(0,textSize.x + 10,0,textSize.y + 10) randomGui.Size = newSize
Something like that |
|
|
| Report Abuse |
|
|