generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

#########################

Previous Thread :: Next Thread 
Titanicman882ftlong is not online. Titanicman882ftlong
Joined: 14 Aug 2012
Total Posts: 430
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 is not online. kiansjet
Joined: 16 Nov 2012
Total Posts: 233
23 Jul 2016 12:20 AM
(I think) put a nil after the .4
Report Abuse
Titanicman882ftlong is not online. Titanicman882ftlong
Joined: 14 Aug 2012
Total Posts: 430
23 Jul 2016 12:22 AM
Nothing.
Report Abuse
Hedr0n is not online. 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 is not online. 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
Titanicman882ftlong is not online. Titanicman882ftlong
Joined: 14 Aug 2012
Total Posts: 430
23 Jul 2016 12:46 AM
Again, nothing.
Report Abuse
BossfightX is not online. BossfightX
Joined: 06 Feb 2010
Total Posts: 2962
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
TigerCaptain is not online. TigerCaptain
Joined: 08 Aug 2011
Total Posts: 369
23 Jul 2016 01:02 AM
Do this ^
use Enums, its easier and the roblox intelesense is nice.


RAP: 411,438
Report Abuse
BossfightX is not online. BossfightX
Joined: 06 Feb 2010
Total Posts: 2962
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image