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
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Having trouble.

Previous Thread :: Next Thread 
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
25 Aug 2015 07:35 PM
local Find1 = game.Workspace:GetChildren() --Gets Children of Workspace (Obv)
local d = 1 --DEBOUNCE
function Find()
for i=1, #Find1 do
if Find1[i].ClassName == "Folder" and Find1[i].Name == "Parts" and d == 1 then
local Find2 = Find1[i]:GetChildren() <--TROUBLE HERE
for a=1, #Find1 do
Find2[a].BrickColor = BrickColor.new("White") <--AND HERE
print("Colored")
d = 2
end
end
end
end
function Click()
Find()
d = 1
end
script.Parent.MouseButton1Click:connect(Click)
Ok I have the parts marked were I am Having trouble 1 It doesnt get the children of the folder which are parts. 2 It trys to find the BrickColor of the folder. also can you get the children of children that you have got?
Report Abuse
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
25 Aug 2015 07:51 PM
Bump
Report Abuse
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
25 Aug 2015 07:53 PM
Nvm Im just dumb I forgot I had folders inside the folder qq
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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