|
| 16 Aug 2011 01:36 PM |
Frame = script.Parent.Parent.Menu Start = script.Parent
function onClick()
for i=0, 100 do Frame.Position = Frame.Position - UDim2.new(0,1,0,0) Start.Position = Start.Position - UDim2.new(0,1,0,0) wait(0.1) end
Start.MouseButton1Click:connect(onClick) |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:37 PM |
| MouseButton1Down + missing an end |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:37 PM |
Needs another end.
~~{I'm a deranged sociopath with a long history of violence}~~ ~{I don't understand how you keep forgetting that}~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Aug 2011 01:38 PM |
@Blox
MouseButton1Click works
~~{I'm a deranged sociopath with a long history of violence}~~ ~{I don't understand how you keep forgetting that}~ |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:39 PM |
Frame = script.Parent.Parent.Menu Start = script.Parent
function onClick()
for i=0, 100 do Frame.Position = Frame.Position - UDim2.new(0,1,0,0) Start.Position = Start.Position - UDim2.new(0,1,0,0) wait(0.1) end end
Start.MouseButton1Click:connect(onClick)
Like that? |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:39 PM |
| After the other end silly. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Aug 2011 01:40 PM |
| Latepost, you got it right. |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:40 PM |
Yuppers
~~{I'm a deranged sociopath with a long history of violence}~~ ~{I don't understand how you keep forgetting that}~ |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:44 PM |
Frame = script.Parent.Parent.Menu Start = script.Parent
function onClick()
for i=0, 100 do Frame.Position = Frame.Position - UDim2.new(0,1,0,0) Start.Position = Start.Position - UDim2.new(0,1,0,0) wait(0.1) end end
Start.MouseButton1Click:connect(onClick)
WHY IT STILL NO WORKY??? |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Aug 2011 01:45 PM |
Are you testing it in Play Solo mode? It won't work if you're not.
~~{I'm a deranged sociopath with a long history of violence}~~ ~{I don't understand how you keep forgetting that}~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Aug 2011 01:50 PM |
http://www.roblox.com/Building-Area-item?id=53359597
It still doesn't work, you can try it out if you want. It's uncopylocked so you can go into edit mode |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2011 01:58 PM |
| Can we subtract two UDim2 values? :O |
|
|
| Report Abuse |
|
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
| |
|
| |
|
|
| 16 Aug 2011 02:00 PM |
@agent
We can now,
print(UDim2.new(0.2,0,0.1,0)-UDim2.new(0.1,0,0,0))
userdata: 1DAF1D08
They probably added that whenever they made the tweening events. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 16 Aug 2011 02:04 PM |
You NEED TO USE:
TweenPosition()
|
|
|
| Report Abuse |
|
|
| |
|