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: Script-a-Brick

Previous Thread :: Next Thread 
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 09:12 AM
Hey guys, what is the script used for scripting a brick into the Workspace? Thanks for helping! [I know, that should be easy, right?]
Report Abuse
noobkid is not online. noobkid
Joined: 17 Sep 2007
Total Posts: 649
29 Feb 2012 09:13 AM
Instance.new("Part",workspace)
Report Abuse
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 11:03 AM
Thanks!
Report Abuse
Jezbob is not online. Jezbob
Joined: 19 Nov 2008
Total Posts: 764
29 Feb 2012 11:07 AM
while (.1) do

b = Instance.new("Part")
b.BrickColor = "NewYeller"
b.Position = Vector3.new(10, 10, 10)
b.Parent = game.Workspace
end

Report Abuse
Jezbob is not online. Jezbob
Joined: 19 Nov 2008
Total Posts: 764
29 Feb 2012 11:10 AM
-_- I need to stop using loops so much.
Report Abuse
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 11:24 AM
Ok, now I can't edit the CFrame. This is the script:

A = Instance.new("Part", Workspace)
A.Anchored = true
A.CFrame.new(5, 2, 6")





I have tried switching the anchored and the CFrame.
Report Abuse
stroudie is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
29 Feb 2012 11:30 AM
A = Instance.new("Part", Workspace)
A.Anchored = true
A.CFrame.new(5, 2, 6)

You had a " on the 3rd line after the 6.
Report Abuse
Jezbob is not online. Jezbob
Joined: 19 Nov 2008
Total Posts: 764
29 Feb 2012 11:30 AM
No its,


A.CFrame = CFrame.new(5, 2, 6)
Report Abuse
Jezbob is not online. Jezbob
Joined: 19 Nov 2008
Total Posts: 764
29 Feb 2012 11:31 AM
Nvm, I got it off something else.
Report Abuse
stroudie is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
29 Feb 2012 11:31 AM
Heh, ignore my input, I always look fro one problem at a time for some reason >_>
Report Abuse
stroudie is not online. stroudie
Joined: 28 Nov 2008
Total Posts: 2556
29 Feb 2012 11:32 AM
*for
Report Abuse
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 11:44 AM
Thanks guys. Next generation of games will be one giant, laggy script. ;)
Report Abuse
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 04:40 PM
How do you change the color of a brick by using a script? I tried A.BrickColor.new("Really Black"), but that just makes the block not appear.
Report Abuse
1pie23 is not online. 1pie23
Joined: 11 Jul 2010
Total Posts: 1865
29 Feb 2012 04:43 PM
stop doing A.BrickColor.new and A.Cframe.new, You have to do A.BrickColor = BrickColor.new("Really red")
Report Abuse
kornawe is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
29 Feb 2012 04:52 PM
A.BrickColor = BrickColor.new("Really black") -- caps matter, typicly only the first word is caps.
Report Abuse
Z007 is not online. Z007
Joined: 14 Sep 2010
Total Posts: 11729
29 Feb 2012 05:37 PM
Thanks guys!
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