|
| 06 Apr 2015 05:07 PM |
Ok so where in the script do I need to edit to change how spread out the parts are?
c = {BrickColor.Green(), BrickColor.Gray(), BrickColor.Random()} for i = 1, 400 do local part = Instance.new("Part", workspace) part.Material = "Grass" part.TopSurface = "Smooth" part.BottomSurface = "Smooth" part.Anchored = true part.Size = Vector3.new(math.random(20), math.random(30), math.random(20)) part.CFrame = CFrame.new(math.random(-100, 100), part.Size.Y/2, math.random(-100, 100)) part.BrickColor = c[math.random(#c)] end
|
|
|
| Report Abuse |
|
|
vividtrip
|
  |
| Joined: 14 Oct 2008 |
| Total Posts: 2890 |
|
|
| 06 Apr 2015 05:12 PM |
Erm, the parts are moved to a totally random location. There's no real way to define how they are distributed, apart from modifying the position value stuff.
[very moisty] |
|
|
| Report Abuse |
|
|
| |
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 06 Apr 2015 05:14 PM |
| Just change the numbers inside the math.random's which are inside the CFrame value. For more spread, make the numbers biggers. vice versa |
|
|
| Report Abuse |
|
|