|
| 17 Jan 2012 10:37 AM |
I made a script wich is seen below and its need fixing.
Output says: Script:7: attempt to get length of global 'all' (a nil value)
script:
Player = script.Parent.Parent.Parent.Parent.Parent B = script.Parent
function Click() if B.Text == ">" then
for i = 1, #all do if all[i].className == "TextLabel" or all[i].className == "TextButton" or all[i].className == "ImageButton" then all[i].Visible=false end end
for d=1,10 do B.Parent.Size = B.Parent.Size - UDim2.new(.1, 0, 0, 0) wait(.01)
end end end
B.MouseButton1Down:connect(Click)
|
|
|
| Report Abuse |
|
iCookieNL
|
  |
| Joined: 24 May 2009 |
| Total Posts: 1103 |
|
|
| 17 Jan 2012 10:38 AM |
| It said 'all' = nil. Declare all |
|
|
| Report Abuse |
|
|
| 17 Jan 2012 11:29 AM |
| Fixed, indeed i forgot a line XD |
|
|
| Report Abuse |
|