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
 

Re: If I want a variable to be 2 things...

Previous Thread :: Next Thread 
Ioveme is not online. Ioveme
Joined: 20 Dec 2011
Total Posts: 9
21 Dec 2011 09:28 PM
I have 2 bricks in workspace (Part, Part2).

I want one variable ("p") to be those 2 bricks

How can you right this down?
Report Abuse
Ioveme is not online. Ioveme
Joined: 20 Dec 2011
Total Posts: 9
21 Dec 2011 09:28 PM
Pardon,

*write
Report Abuse
PompeyTheGreat is not online. PompeyTheGreat
Joined: 10 Apr 2011
Total Posts: 5615
21 Dec 2011 09:30 PM
Use an array.

p = {Workspace.Part, Workspace.Part2}

bon
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
21 Dec 2011 09:31 PM
I'm not fully sure what you want. You want one of thoughs bricks to do something and the other does nothing?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
21 Dec 2011 09:31 PM
@Pompey

Oh, lol that's what he wanted? I thought he wanted to use the math.random function or something :P

I must be getting tired...
Report Abuse
Ioveme is not online. Ioveme
Joined: 20 Dec 2011
Total Posts: 9
21 Dec 2011 09:35 PM
danke
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