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 » Scripting Helpers
Home Search
 

Re: Is there a way to make TweenSizeAndPosition faster?

Previous Thread :: Next Thread 
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
05 Nov 2013 12:41 PM
local frame = script.Parent.Parent
local idiot = script.Parent
function onClick()
frame:TweenSizeAndPosition(UDim2.new(0,0,0,0), UDim2.new(0.5,0,0,0))
idiot:TweenSizeAndPosition(UDim2.new(0,0,0,0), UDim2.new(0.5,0,0,0))
end
script.Parent.MouseButton1Down:connect(onClick)

Any way to make this quicker? I want a more snappy close time.
Report Abuse
rosie92680 is not online. rosie92680
Joined: 17 Oct 2011
Total Posts: 1511
05 Nov 2013 12:53 PM
What does tween mean?!?
Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
05 Nov 2013 01:05 PM
@above

tween is short for Inbetween
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
05 Nov 2013 01:14 PM
TweenSizeAndPosition(UDim2.new(0,0,0,0), UDim2.new(0.5,0,0,0),.01)

try that
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
05 Nov 2013 01:15 PM
I've never used it before but maybe if like you called it more than once on the same item?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
05 Nov 2013 01:16 PM
^ No.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
05 Nov 2013 01:21 PM
didn't work, jan :/
Oh well, it's fine. Was just being picky anyway.
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
05 Nov 2013 01:21 PM
Sorry, like I said never used it before...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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