Creating an auto generating grid system

You can write your topic however you want, but you need to answer these questions:

  1. I want to create an auto generating grid system. I have a large baseplate created, all I want is for individual tiles to appear on that baseplate in an orderly manner.

  2. I need help creating one. I am not asking for full code, just asking for solutions :slight_smile:

  3. Searched around dev forum for a little while, nothing found but some topics were close.

There are various ways to achieve it. A very simple way is to use for loops for number incrementations giving u ordered positions. A basic e.g

for x = 1,50,5 do
	for z = 1,50,5 do
		local GridPart ="Part",workspace)
		GridPart.Anchored = true
		GridPart.Size =,1,5)
		GridPart.BrickColor = BrickColor.random()
		GridPart.Position =,0,z)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.