|
| 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 |
|
|
| |
|
|
| 05 Nov 2013 01:05 PM |
@above
tween is short for Inbetween |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |
|
|
| 05 Nov 2013 01:21 PM |
didn't work, jan :/ Oh well, it's fine. Was just being picky anyway. |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2013 01:21 PM |
| Sorry, like I said never used it before... |
|
|
| Report Abuse |
|
|