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 » Club Houses » Let's Make a Deal
Home Search
 

Re: yo lmad scripters pls help

Previous Thread :: Next Thread 
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:36 PM
how do i make something where it goes through a model (with values) looking for which one is true

pls help
ty


-YOSkater
Report Abuse
Unscrew is not online. Unscrew
Joined: 22 Jul 2014
Total Posts: 9181
09 Jan 2015 11:38 PM
workspace.idk(open)door:sesime
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:38 PM
lwgit


-YOSkater
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
09 Jan 2015 11:39 PM
Use enhanced for loops and check for values

for _,v in pairs(model:GetChildren()) do

--put u stuff here

end
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:39 PM
b


-YOSkater
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:41 PM
@Sen
Thanks
I'll try it


-YOSkater
Report Abuse
Salinas23 is not online. Salinas23
Joined: 28 Dec 2008
Total Posts: 37142
09 Jan 2015 11:43 PM
why dont u make a table of values

noob
Report Abuse
Widths is not online. Widths
Joined: 12 Aug 2014
Total Posts: 41286
09 Jan 2015 11:44 PM
What do you mean? I'm confused


-iJava
Report Abuse
Widths is not online. Widths
Joined: 12 Aug 2014
Total Posts: 41286
09 Jan 2015 11:47 PM
local model = --model path here
for i,v in pairs(model:GetChildren()) do
if v:IsA("BoolValue") then
if v.Value == true then
print(v.Name..' is true!')
end
end
end

that??


-iJava
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:48 PM
ur thinking too hard
idc if efficient

like
loop through like
if Questions:FindFirstChild("1").Value == true then
print("1 is true")

it didnt work tho



-YOSkater
Report Abuse
Widths is not online. Widths
Joined: 12 Aug 2014
Total Posts: 41286
09 Jan 2015 11:49 PM
my code should work


-iJava
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:49 PM
@Salinas
I do in another script to make it true
so now i need to do stuff hard 2 explain


-YOSkater
Report Abuse
YOSkater is not online. YOSkater
Joined: 19 Mar 2011
Total Posts: 13337
09 Jan 2015 11:51 PM
yay it worked


-YOSkater
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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