generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Problem need fixing

Previous Thread :: Next Thread 
Veggetossj is not online. Veggetossj
Joined: 20 Nov 2008
Total Posts: 1373
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 is not online. iCookieNL
Joined: 24 May 2009
Total Posts: 1103
17 Jan 2012 10:38 AM
It said 'all' = nil. Declare all
Report Abuse
Veggetossj is not online. Veggetossj
Joined: 20 Nov 2008
Total Posts: 1373
17 Jan 2012 11:29 AM
Fixed, indeed i forgot a line XD
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image