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
 

Tweening D:

Previous Thread :: Next Thread 
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Jan 2012 10:47 AM
script.Parent:TweenPosition(UDim2.new(script.Parent.Parent.Frame.Position.X, script.Parent.Parent.Frame.Position.Y), "Out", "Quad", 3, false, nil)

Ok, so theres the script. my problem:
The 'script.Parent' (an image label) just stays there... it doesnt 'tween' It just sits where ever i put it, im not sure whats wrong, i get NO errors, and that line is the only thing in the script, the x and y positions of frame are NOT the same as the image label im trying to move is... so yeah, any idea?
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Jan 2012 11:05 AM
Anyone? 0_o
Report Abuse
sncplay42 is not online. sncplay42
Joined: 27 Nov 2008
Total Posts: 11891
03 Jan 2012 11:05 AM
I'm not entirely sure you can create a UDim2 from 2 UDims like that. Try

script.Parent:TweenPosition(script.Parent.Parent.Frame.Position, "Out", "Quad", 3, false, nil)
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Jan 2012 11:14 AM
you cant 0_o i didnt notice that before .-.
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Jan 2012 11:23 AM
it still wont work :/ it hates me...
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Jan 2012 02:36 PM
Not sure what im doing wrong:
script.Parent:TweenPosition(script.Parent.Parent.Frame.Position, "Out", "Quad", 3, false, nil)
print "Dones"
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