circa555
|
  |
| Joined: 25 Aug 2010 |
| Total Posts: 953 |
|
|
| 12 Jun 2016 11:19 PM |
I made a script that is supposed to make a gui slide out and then stop on a position, anyone know why it's not stopping?
main=script.Parent
if main.Position == UDim2.new(0.5, -100,-0.4, 0) then repeat wait() main.Position = main.Position + UDim2.new(0, 0, .03, 0) until main.Position == UDim2.new(0.5, -100, 0.3, 0) end
|
|
|
| Report Abuse |
|
pecksir
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 420 |
|
|
| 12 Jun 2016 11:20 PM |
maybe change the .03 to .01??
|
|
|
| Report Abuse |
|
KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 12 Jun 2016 11:21 PM |
| why not just use TweenPosition |
|
|
| Report Abuse |
|