yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
|
| 28 Nov 2013 03:38 PM |
| Can anyone help me with a GUI to insert a brick when I click it? Also, can I get a script to where I click a button I change the color of a brick? |
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
|
| 28 Nov 2013 03:43 PM |
I'm not sure.
function Click() Brick = Instance.new("Brick",game.Workspace) Brick.Position = Vector3.new(0,0,0) --Position of the brick end script.Parent.onMouseButton1:connect(Click)
Makes a brick onClick. |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2013 03:44 PM |
Oops,
"Brick"
should be
"Part" |
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
|
| 28 Nov 2013 03:44 PM |
| Thanks but can i get one to where i can change color of a part to. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 03:48 PM |
ClickDetector in part MouseClick event Change BrickColor property |
|
|
| Report Abuse |
|
|