Like how do i make a script where it will just be spawning bricks in a certain area?
This is quite broad, but I'll answer anyway.
You can make parts with Instance.new("Part")
part = Instance.new("Part",game.Workspace) -- the second parameter is the parent part.Anchored = true --then just change it's properties
To make it spawn in a random area, use math.random
part = Instance.new("Part",game.Workspace) part.Position = Vector3.new(math.random(1,20),1,math.random(1,20))
Leave a comment if you need anything clarified.