|
| 31 Dec 2011 11:08 AM |
How would i make it so that only the owner can click the brick, therefore casuing the script ti run, else making it so that you cant use, it. And if you dont have a brick then it will give you one if no one owns it.
Heres the script, im using and i have it inside a brick.
script.Parent.ClickDetector.MouseClick:connect(function() if script.Parent.BrickColor == BrickColor.new("Institutional white") then script.Parent.BrickColor = BrickColor.new("Really black") elseif script.Parent.BrickColor == BrickColor.new("Really black") then script.Parent.BrickColor = BrickColor.new("Institutional white") elseif script.Parent.BrickColor == BrickColor.new("Really black") then script.Parent.BrickColor = BrickColor.new("Institutional white") end end) |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 11:09 AM |
Why double post, I told you what to do. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 11:11 AM |
| ohh sorry, it said it errored and i thought it didnt post, so i clicked post again. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 11:11 AM |
| ohh sorry, it said it errored and i thought it didnt post, so i clicked post again. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 11:11 AM |
| lol why does it double post... GRRR... i only clicked post once..... |
|
|
| Report Abuse |
|
|