|
| 15 Jun 2012 02:52 PM |
| Jow can I make a script that allows you to place parts in a specific area, and only stay in a grid like 4x4x4. For example you place a 4x4x4 part, and you want to place another block next to it, but it has to be 4 studs next to it, without a part out of place. How can I do this. btw, this is used with a tool |
|
|
| Report Abuse |
|
|
ryanxm
|
  |
| Joined: 02 May 2009 |
| Total Posts: 691 |
|
|
| 15 Jun 2012 02:56 PM |
| we're not scripting slaves, to get help you need to post code, and give us tell us what the issue may be. If you want someone to MAKE you a script, go over to let's make a deal. |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2012 02:58 PM |
| Ok, first of all take some time to read my post. I'm not asking for a script, I just want to know how it can be done. What functions can I use, what do I need to create? |
|
|
| Report Abuse |
|
|
| |
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 15 Jun 2012 03:23 PM |
Yeah dude, we are like, not your slaves. Ha. I win.
local gridsize = 4 --(4x4) local topCornerPosition = Vector3.new(0,0,0)
for x = 1, 4 do for z = 1, 4 do local p = Instance.new("Part") p.Anchored = true p.Size = Vector3.new(4,4,4) p.Position = topCornerPosition + Vector3.new(x*z, 0, x*z) p.Parent = Workspace end end |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2012 03:47 PM |
| So where do I put this? Sorry I'm new to scripting |
|
|
| Report Abuse |
|
|