Lagune
|
  |
| Joined: 22 May 2012 |
| Total Posts: 564 |
|
|
| 21 Aug 2016 05:51 AM |
Tried this, but it set the size to 0,0,0,0
for i = 1,100 do wait(0.01) script.Parent.Size = UDim2.new(script.Parent.Size - Vector2.new(0.01,0,0.01,0)) end
|
|
|
| Report Abuse |
|
|
Encladeus
|
  |
| Joined: 27 Dec 2010 |
| Total Posts: 3839 |
|
|
| 21 Aug 2016 05:54 AM |
| For loops don't have frames. |
|
|
| Report Abuse |
|
|
vexieh
|
  |
| Joined: 22 Oct 2009 |
| Total Posts: 3468 |
|
|
| 21 Aug 2016 05:56 AM |
Are you trying to make the frame grow inside a loop?
|
|
|
| Report Abuse |
|
|
Sorcism
|
  |
| Joined: 09 Jul 2015 |
| Total Posts: 6906 |
|
| |
|
vexieh
|
  |
| Joined: 22 Oct 2009 |
| Total Posts: 3468 |
|
|
| 21 Aug 2016 06:13 AM |
Why not just use TweenSize? (http://wiki.roblox.com/index.php?title=API:Class/GuiObject/TweenSize) local time_ = 2 wait(2) --replace with w/e script you have to wait for the player and the gui to load script.Parent.Frame:TweenSize(UDim2.new(.2, 0, .3, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, time_, true)
|
|
|
| Report Abuse |
|
|