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
 

What did I do wrong?

Previous Thread :: Next Thread 
1cooldude361 is not online. 1cooldude361
Joined: 13 Mar 2010
Total Posts: 4403
15 Sep 2012 09:58 AM
I typed this:

local a = Instance.new("Part", game.Workspace)
a.Position = Vector3.new(0, 1, 0)
a.Anchored = true
a.BrickColor = Color3.new("Bright red")
a.Size = Vector3.new(10, 10, 10)

It put in the part, right where I wanted it to be, and anchored, but it didn't change the size or the BrickColor.

A minimum of 15 seconds has passed since my last post.
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
15 Sep 2012 10:02 AM
local a = Instance.new("Part",Workspace)
a.Position = Vector3.new(0, 1, 0)
a.Anchored = true
a.BrickColor = BrickColor.new("Bright red")
a.Size = Vector3.new(10, 10, 10)
Report Abuse
1cooldude361 is not online. 1cooldude361
Joined: 13 Mar 2010
Total Posts: 4403
15 Sep 2012 10:05 AM
Oh, thanks. Color3.new worked for me before, but maybe it only works on fire or something? I dunno.

A minimum of 15 seconds has passed since my last post.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
15 Sep 2012 10:06 AM
It just doesn't work on Bricks, because Bricks use Enum's.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
15 Sep 2012 10:07 AM
Here are all the colors. You can either use the name or the number.

http://wiki.roblox.com/index.php/BrickColor_Codes
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