You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
cylinders in a grid -
What is the issue? Include screenshots / videos if possible!
it timeouts -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
adding waits
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
baseFlower = workspace.Flower
for x = math.floor(0-(script.Parent.Size.X/2)),math.floor(script.Parent.Size.X/2),4 do
task.wait(1)
for z = math.floor(0-(script.Parent.Size.Z/2)),math.floor(script.Parent.Size.Z/2),4 do
task.wait()
script.Parent.Attachment.Position = Vector3.new(x,script.Parent.Attachment.Position.Y,z)
local flower = baseFlower:Clone()
flower.Position = script.Parent.Attachment.WorldPosition
local objectValue = Instance.new('ObjectValue')
objectValue.Value = flower.Attachment
objectValue.Parent = script.Parent
flower.Parent = workspace.Flower
end
end

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
this is not going to be a public game