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: Find multiple children with the same name?

Previous Thread :: Next Thread 
InfiniteYield is online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
07 Aug 2016 03:01 AM
How 2 do?


Report Abuse
InfiniteYield is online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
07 Aug 2016 03:03 AM
b


Report Abuse
myactivetestplace is not online. myactivetestplace
Joined: 11 Jul 2015
Total Posts: 3733
07 Aug 2016 03:05 AM
Where are they?
Report Abuse
InfiniteYield is online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
07 Aug 2016 03:17 AM
Workspace.


Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
07 Aug 2016 04:03 AM
wait"2"--[[Example]]script.Parent=(game.ServerScriptService)
a=(script.Name)
b=(1)
for i, v in pairs(game.Workspace:GetChildren()) do
print([[checking]]..a)
if v.Name==(a)and i~=(b)and game.Workspace:FindFirstChild(a)then
Instance.new("Hint",script)
script.Message.Text=("omg multiple children in workspace called '"..v.Name.."' !!")
script.Message.Parent=(game.Workspace)
script.Disabled=(true)
end
a=(v.Name)
b=(i)
end
Report Abuse
xshot23 is not online. xshot23
Joined: 17 Oct 2014
Total Posts: 4873
07 Aug 2016 04:32 AM
for i, v in pairs(game.Workspace:GetChildren()) do
if v.Name ==[""] then

end
end

?
Report Abuse
Marienus is not online. Marienus
Joined: 02 Jul 2012
Total Posts: 118
07 Aug 2016 05:03 AM
allchildren = game.Workspace:GetChildren()

for i = 1,#allchildren do
if allchildren[i].Name == "NameThatThePartsYouWantHave" then
allchildren[i]:DoStuffWithIt(things)
end
end
Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
08 Aug 2016 06:59 AM
........ try ma script?!
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