Build a Tetris type of game

Hello, Developers today I started making a Tetris type of game
image
but the bit I am confused is that how can I make the building by a script, not hand. I’ve searched for hours to find some examples but sadly I found nothing, therefore, I came here to ask you guys to show me some examples and or explain to me how can I make it.

3 Likes

You can create parts by Instace.new() function. Let me give you an example.

local Part = Instance.new("Part", game.Workspace) --In here we identify the part, and it's parent
Part.Position = --Position You want to enter
Part.Color = --Color you want to add

You can add more properties with that way.

Thank you for reading and good luck on your project :smiley:

1 Like

You understood me wrong I have models in Models folder when a player picks a map script will clone random models from models folder and will build a Tetris game.


There should not be spots like this.
image

Set the Parent property last to avoid performance and logic issues.

3 Likes