|
| 04 Oct 2014 03:39 PM |
can u make me a script where u insert it into studio and it turns all Medium Blue bricks into Lime Green ones
ok thanks :D |
|
|
| Report Abuse |
|
|
theapril7
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 1670 |
|
| |
|
|
| 04 Oct 2014 03:39 PM |
Did you copy a base? Niceeeeeeeeeeee |
|
|
| Report Abuse |
|
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
|
| 04 Oct 2014 03:40 PM |
function g(x) for i, c in pairs(x:children()) do g(c) end if x:IsA"BasePart" and x.BrickColor==BrickColor.new("Medium blue") then x.BrickColor==BrickColor.new("Lime green") end end |
|
|
| Report Abuse |
|
|
xMaleden
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 2542 |
|
|
| 04 Oct 2014 03:41 PM |
function peepee() for i,v in pairs(script.Parent:GetChildren()) do if v:IsA("Part") and v.BrickColor==MediumBlue then v.BrickColor=LimeGreen end end end |
|
|
| Report Abuse |
|
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 04 Oct 2014 03:42 PM |
steps
1. copy + paste devoi's code 2. praise devoi 3. ??? 4. profit
2,720/100,000 |
|
|
| Report Abuse |
|
|
|
| 04 Oct 2014 03:42 PM |
| thank you devoi best friend :D |
|
|
| Report Abuse |
|
|
xMaleden
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 2542 |
|
|
| 04 Oct 2014 03:42 PM |
| too lazy to mess with the color syntax lel |
|
|
| Report Abuse |
|
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
|
| 04 Oct 2014 03:43 PM |
you also need to add g(workspace) after it |
|
|
| Report Abuse |
|
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 04 Oct 2014 03:43 PM |
"too lazy to mess with the color syntax"
even though it's a basic part of rbx. lua?
lol
2,720/100,000 |
|
|
| Report Abuse |
|
|
|
| 04 Oct 2014 03:45 PM |
| what do u mean after it like after all the ends |
|
|
| Report Abuse |
|
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
| |
|
|
| 04 Oct 2014 03:48 PM |
ok i made this a script
"function g(x) for i, c in pairs(x:children()) do g(c) end if x:IsA"BasePart" and x.BrickColor==BrickColor.new("Medium blue") then x.BrickColor==BrickColor.new("Lime green") end end g(workspace)"
i put it in checked disable then unchecked it didnt work |
|
|
| Report Abuse |
|
|
xMaleden
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 2542 |
|
|
| 04 Oct 2014 03:48 PM |
| Adam, I know a couple programming and scripting languages. It all starts to blend after a while. |
|
|
| Report Abuse |
|
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
|
| 04 Oct 2014 03:50 PM |
whoops i put 2 equal signs
function g(x) for i, c in pairs(x:children()) do g(c) end if x:IsA"BasePart" and x.BrickColor==BrickColor.new("Medium blue") then x.BrickColor=BrickColor.new("Lime green") end end g(workspace) |
|
|
| Report Abuse |
|
|
| |
|