Basically im trying to make a simple maze where there are walls lined up in rows and randomly 10 of the 27 will be seen. This is my script right now.
local Parts = workspace.Maze:GetChildren() for i, v in pairs(Parts) do math.randomseed(tick()) local RandomPart = Parts[math.random(1,#Parts)]
function invisible()
RandomPart.Transparency = 0
RandomPart.CanCollide = true
end
invisible()
end
So how would I make this for loop work. Thanks!

1 comment
thanks