Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 30 Mar 2014 09:08 PM |
function TweenToPosition(gui, pos, time) gui:TweenPosition(pos, "Out", "Quad", time) end wait(6) TweenToPosition(script.Parent, UDim2.new(0, 0, 0, 800), 2) script.Parent.MouseButton1Click:connect(function() end)
The script is currently incomplete, and by my needs, entirely inaccurate.
I need it so that the function which involves the clicking is the initial function which when met (when you click script.Parent) creates a tween thingy and moves script.Parent GUI to 0,0,0,800.
Thanks! |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
|
| 30 Mar 2014 09:22 PM |
| Seems the view count *shades* is running the low on high. |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 30 Mar 2014 10:01 PM |
last bump for tonight.
Someone please respond! |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 10:56 PM |
You don't need to create a custom tween. Just do this
gui:TweenPosition(UDim2.new(0.0, 0, 0.0, 800),2)
Put that in your function thingy. :) |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 31 Mar 2014 08:18 AM |
| Okay but how do I have it so that when you click on it, it does that? |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2014 06:16 PM |
Okay. I'll put the whole script here. You already should have basic information BUT I'm being nice.
script.Parent.MouseButton1Down:connect(function()
Gui:TweenPosition(UDim2.new(0.0, 0, 0.0, 800),2)
end) |
|
|
| Report Abuse |
|
|