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 » Roblox » Suggestions & Ideas
Home Search
 

Re: New scripting code

Previous Thread :: Next Thread 
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Feb 2013 05:50 PM
I'm unfamiliar on how they make these codes work but this would be nice if they added this into lua.

Example:

wait()

Instance.new("Part", Workspace)

Part.Name = 1

Part.Anchored = true

wait()

Instance.new("Part", Workspace)

Part.Name = 2

Part.Anchored = true

wait()

---This is the code they should add

Local 1 = game.Workspace.1

Local 2 = game.Workspace.2

group:(1, 2) -- Something like this

This would group to parts in the workspace while creating them with this script.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Feb 2013 05:50 PM
two*
Report Abuse
texastyaust is not online. texastyaust
Joined: 08 Feb 2009
Total Posts: 2735
23 Feb 2013 05:52 PM
Simple create a model, and make the parent of the parts into the model
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Feb 2013 05:52 PM
Yea or that, but this would be a nice feature.
Report Abuse
texastyaust is not online. texastyaust
Joined: 08 Feb 2009
Total Posts: 2735
23 Feb 2013 05:53 PM
Ex.
local mod = Instance.new("Model", Workspace)

local part = Instance.new("Part", mod)
part.Name = "Merp"

local part2 = Instance.new("Part",mod)
part2.Name = "Derp"
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Feb 2013 05:54 PM
Yes i know.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
23 Feb 2013 06:11 PM
Nah...

Instance.new("Group", workspace)

does that just fine.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • 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