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 » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:08 PM
[ Content Deleted ]
Report Abuse
LordEvolution is not online. LordEvolution
Joined: 09 Sep 2011
Total Posts: 3135
05 Nov 2013 05:15 PM
You want to get ALL of the properties?
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:18 PM
[ Content Deleted ]
Report Abuse
LordEvolution is not online. LordEvolution
Joined: 09 Sep 2011
Total Posts: 3135
05 Nov 2013 05:22 PM
for _,v in pairs(workspace:GetChildren()) do if
v.Name == 'cat1" then
--codehereblablablabla
end
end

I dunno, maybe that'll work?
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:23 PM
[ Content Deleted ]
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:31 PM
[ Content Deleted ]
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:37 PM
[ Content Deleted ]
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:47 PM
[ Content Deleted ]
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
05 Nov 2013 05:50 PM
Ok..... so you have a model, and The model's name is cat.
Doesent matter whats inside it.

all = game.Workspace.GetChildren:GetChildren() -- Selects all the bricks and applys this script to all of them. Think of Children as Stuff inside the modl which is it's parent.
for i = 1,#all do -- the # refers to the tag "all" which is all the bricks in "GetChildren"
all[i].BrickColor = BrickColor.random () -- Random BrickColor!
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
05 Nov 2013 05:51 PM
WAIT WAIT



Lemme change something, lol


all = game.Workspace.cat:GetChildren() -- Selects all the bricks and applys this script to all of them. Think of Children as Stuff inside the modl which is it's parent.
for i = 1,#all do -- the # refers to the tag "all" which is all the bricks in "GetChildren"
all[i].BrickColor = BrickColor.random () -- Random BrickColor!
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 05:55 PM
[ Content Deleted ]
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
05 Nov 2013 05:59 PM
erm.... post your part u have right now, ans the pro's will help you.
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 06:17 PM
[ Content Deleted ]
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 06:51 PM
[ Content Deleted ]
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
05 Nov 2013 06:57 PM
"catty1.forcecat.position = position "
m would reference the current parts
I don`t know your layout but I assume "forcecat" is the body object
m.forcecat.position = position
I hope you defined position though.
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 08:14 PM
[ Content Deleted ]
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
05 Nov 2013 09:06 PM
[ Content Deleted ]
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