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
|
  |
| Joined: 20 Feb 2010 |
| Total Posts: 549 |
|
| |
|
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
|
  |
| 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
|
  |
| Joined: 20 Feb 2010 |
| Total Posts: 549 |
|
|
| 03 Jan 2012 11:23 AM |
| it still wont work :/ it hates me... |
|
|
| Report Abuse |
|
|
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 |
|
|