LeafDoode
|
  |
| Joined: 29 May 2017 |
| Total Posts: 3094 |
|
|
| 25 Sep 2017 12:37 PM |
they wont work for me
#code for i,v in pairs(Roblox.Forums:GetChildren()) if v.Name ~= "Game Creation and Development" then v:Destroy() end end |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 25 Sep 2017 12:38 PM |
t'would be nice if you showed us the line
woah i used a fancy word i feel like jarod |
|
|
| Report Abuse |
|
|
Scahrlet
|
  |
| Joined: 10 Feb 2012 |
| Total Posts: 1530 |
|
|
| 25 Sep 2017 12:38 PM |
Could you post your code and any errors you may be getting?
This is also how it should be formatted:
label:TweenSizeAndPosition(UDim2.new(0.3,0,0.5,0), UDim2.new(0.35,0,0.05,0), 'In', 'Quint', 1.5)
|
|
|
| Report Abuse |
|
|
Kekulator
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1833 |
|
|
| 25 Sep 2017 12:40 PM |
Object:TweenSize(UDim2.new(.5,0,.5,0), "Out", "Sine", 1, true)
First argument is position
Second is the easing direction idk
Third is easing style
4th is time in seconds
The 5th is if you want to be able to like override it. |
|
|
| Report Abuse |
|
|
Kekulator
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1833 |
|
|
| 25 Sep 2017 12:41 PM |
O.o
it was TweenSizeAndPosition
Then, just add one more position
:TweenSizeAndPosition(UDim2.new(), UDim2.new(), "Out", "Sine", 1, true)
|
|
|
| Report Abuse |
|
|
Scahrlet
|
  |
| Joined: 10 Feb 2012 |
| Total Posts: 1530 |
|
|
| 25 Sep 2017 12:45 PM |
@Keku "Object:TweenSize" only tweens the Size, not Size and Position.
It would need to be formatted like this:
Object:TweenSizeAndPosition(UDim2.new(0.3,0,0.5,0), UDim2.new(0.35,0,0.05,0), 'In', 'Quint', 1.5)
The first "UDim2" credentials are the size, the second (the two have to be separated by a comma), are the Position tweens. These are the "Final Destinations", so to speak - you have to position it where you want it to start.
'In' represents the way that the Gui will come in. There are other credentials that you can use, listed here:
http://wiki.roblox.com/index.php?title=Gui_Tweening
That link will also explain what I'm explaining.
'Quint' is the way the GUI reacts while transitioning. Again, there are other values you can put here.
'1.5' represents the amount of time it takes for the Gui to finish positioning and resizing.
You can't forget any commas or anything like this or it will mess up the entire thing.
|
|
|
| Report Abuse |
|
|
Kekulator
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1833 |
|
|
| 25 Sep 2017 12:47 PM |
| I literally just posted it |
|
|
| Report Abuse |
|
|
LeafDoode
|
  |
| Joined: 29 May 2017 |
| Total Posts: 3094 |
|
|
| 26 Sep 2017 04:07 AM |
Thanks guy
I didn't know how to use the args right.
#code for i,v in pairs(Roblox.Forums:GetChildren()) if v.Name ~= "Game Creation and Development" then v:Destroy() end end |
|
|
| Report Abuse |
|
|