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
 

I need help (Normal+ Scripters only)

Previous Thread :: Next Thread 
GALENthe1st is not online. GALENthe1st
Joined: 15 Mar 2013
Total Posts: 80
06 Dec 2013 05:40 PM
1. Find all the parts in a model (ex: workspace.modelname)

2. For each part, a Value is created, along with a piece of code, that code in a script simply creates that part. Create Values for all these parts.

3. Get those Values and I forgot how but incorporate all of those Values into a script (AKA; get the values then paste it into a script one after another).

I need help, I tried and failed horribly. Can you help me below?
Report Abuse
GALENthe1st is not online. GALENthe1st
Joined: 15 Mar 2013
Total Posts: 80
06 Dec 2013 05:41 PM
2.
- The piece of code is the Value. ex:

There's a part in workspace.modelname

it would make a value then make the value this;

part = Instance.new("Part") part.Parent = game.Workspace etc. etc. etc.
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
06 Dec 2013 05:41 PM
2,3 what?

1:

game.Workspace.MODELNAME:GetChildren
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
06 Dec 2013 05:50 PM
Well for number 1 :

local model = --reference model here, you can set to workspace

for i,part in pairs (model:GetChildren()) do -- setting up the for loop
if part:IsA("Part") then -- making sure the part is a part
-- this will do the parts one by one so if you put a wait in here it will wait for every part there is
-- if you write down part.Transparency = 1 all the parts in the model will be invisible
end
end
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