sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 21 Dec 2015 01:08 PM |
Once you hover over this gui, itll move to the right and once it completes I want another gui to turn visible. Where do I do that?
function Hover() for I = 1,25 do wait() script.Parent.Parent.Position = script.Parent.Parent.Position + UDim2.new(0,3,0,0) script.Parent.Visible = false end end
script.Parent.MouseEnter:connect(Hover) |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
| |
|
XIPokezIX
|
  |
| Joined: 24 Sep 2015 |
| Total Posts: 381 |
|
|
| 21 Dec 2015 03:47 PM |
script.Parent.MouseEnter:connect(function() script.Parent:TweenPosition(script.Parent.Position+UDim2.new(0,75,0,0),"Out","Quad",1) |
|
|
| Report Abuse |
|
|
XIPokezIX
|
  |
| Joined: 24 Sep 2015 |
| Total Posts: 381 |
|
| |
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 21 Dec 2015 03:51 PM |
Made the GUI move up diagonally, how do I make it just go to the right? Never used tween, sorry |
|
|
| Report Abuse |
|
|
XIPokezIX
|
  |
| Joined: 24 Sep 2015 |
| Total Posts: 381 |
|
|
| 21 Dec 2015 03:54 PM |
replace script.Parent.Positon+UDim2.new(0,75,0,0) with script.Parent.Positon+UDim2.new(0,0,0,75) |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 21 Dec 2015 03:55 PM |
| Still moving diagonally a bit. |
|
|
| Report Abuse |
|
|
XIPokezIX
|
  |
| Joined: 24 Sep 2015 |
| Total Posts: 381 |
|
|
| 21 Dec 2015 03:57 PM |
| script.Parent.Positon+UDim2.new(0,script.Parent.Position.Y,0,75) |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 21 Dec 2015 05:07 PM |
Gave me this error
Positon is not a valid member of ImageButton |
|
|
| Report Abuse |
|
|
XIPokezIX
|
  |
| Joined: 24 Sep 2015 |
| Total Posts: 381 |
|
|
| 21 Dec 2015 05:15 PM |
Sees clearly a typo
Position |
|
|
| Report Abuse |
|
|
sal212
|
  |
| Joined: 11 Apr 2010 |
| Total Posts: 2929 |
|
|
| 21 Dec 2015 05:15 PM |
o Sorry I was reading too fast qq |
|
|
| Report Abuse |
|
|