local TableOfBlocks = game.workspace.Blocks:GetChildren()
for i, v in pairs (TableOfBlocks) do
v.Material = "Neon"
end
Blocks is a model filled with about 5 blocks that are exact duplicates of each other.
I am trying to make the value (The children of Blocks) material change.
I do not know why this will not change the blocks material to neon.
Please tell me how to get this to work.

2 comments
its also better to use "for _," intead of "for i,"
I forgot all about enum, I don't know why,