1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 03 Oct 2011 03:07 AM |
Try,
script.Parent.MouseButton1Down:connect(function() if script.Page.Value < script.Pages.Value then script.Parent.Parent["Page"..script.Page.Value+1]:TweenPosition(UDim2.new(0,0,0,0), "Out", "Quad", 1, true) script.Parent.Parent["Page"..script.Page.Value]:TweenPosition(UDim2.new(-1,0,0,0), "Out", "Quad", 1, false) script.Page.Value=script.Page.Value+1 script.Parent.Parent.TextLabel.Text = "Page: "..script.Page.Value script.Parent.Parent.BACK.Script.Page.Value = script.Page.Value else print("Error") end end)
|
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 03 Oct 2011 03:10 AM |
:o I added: , "Out", "Quad", 1, true) and , "Out", "Quad", 1, false)
|
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 03 Oct 2011 03:11 AM |
| Idk, I just always see that in scripts when using TweenSize, TweenPosition, etc.. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|