Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 05 Apr 2014 10:47 PM |
if script.Parent.Parent.LeMenu.INTRO.Position = UDim2.new(0, 0, 0, -1200) then script.Parent.Position = UDim2.new(0, 0, 0, 120) end |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2014 10:48 PM |
you're not using the correct operator
i'm asian |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
|
| 05 Apr 2014 10:53 PM |
| I'm not familiar with this terminology. |
|
|
| Report Abuse |
|
|
Supint
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 6854 |
|
| |
|
|
| 05 Apr 2014 11:17 PM |
An operator is ==, ~=, >, <, ect
first line if script.Parent.Parent.LeMenu.INTRO.Position = UDim2.new(0, 0, 0, -1200) then
needs to have 2 equal signs instead of one.
if script.Parent.Parent.LeMenu.INTRO.Position == UDim2.new(0, 0, 0, -1200) then |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2014 11:19 PM |
plus,i think you better wrap that in a loop,and check the Y Scale..
I think your comparing userdata values..
while wait() do if script.Parent.Parent.LeMenu.INTRO.Position.Y.Scale <= -1200 then script.Parent.Position = UDim2.new(0, 0, 0, 120) end end
fixed |
|
|
| Report Abuse |
|
|