|
| 23 Jul 2016 12:18 AM |
EnergyBar:TweenSize(UDim2.new(0, 435, 1.1, 0), "In", "Linear", .4)
Is there a reason why that is not working?
EnergyBar is a frame, and this is in a LocalScript.. |
|
|
| Report Abuse |
|
|
kiansjet
|
  |
| Joined: 16 Nov 2012 |
| Total Posts: 233 |
|
|
| 23 Jul 2016 12:20 AM |
| (I think) put a nil after the .4 |
|
|
| Report Abuse |
|
|
| |
|
Hedr0n
|
  |
| Joined: 05 Jan 2016 |
| Total Posts: 1524 |
|
|
| 23 Jul 2016 12:25 AM |
| kian that's stupid because its already nil |
|
|
| Report Abuse |
|
|
kiansjet
|
  |
| Joined: 16 Nov 2012 |
| Total Posts: 233 |
|
|
| 23 Jul 2016 12:25 AM |
| Try ######## size and position but keep the same position |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Jul 2016 12:54 AM |
EnergyBar:TweenSize(UDim2.new(0, 435, 1.1, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, .4, true, nil)
Essentially the same thing, but using the enum method instead of strings. I find using the Enum method more direct. Also I turned override to true in case if another Tween is running.
~ I fight bosses for a living ~ |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2016 01:02 AM |
Do this ^ use Enums, its easier and the roblox intelesense is nice.
RAP: 411,438 |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2016 02:38 AM |
Enums are not always easier to use. There are many pathways after the Enum and period and sometimes its hard to find the right one. However, using Enums are worth it because 1.The Intellisense (the autocompleter) shows all the options in an Enum, unlike a string. 2. Most Enums pass the test of time (they will usually stay forever)
However, its a preference on whether to use Enums or not.
~ I fight bosses for a living ~ |
|
|
| Report Abuse |
|
|