local brick = Workspace.brick // I am trying for this to detect a part called "brick" within the workspace.
while true do
wait(0.1)
script.Parent.BrickColor = BrickColor.new("New Yeller")
script.Parent.Reflectance= 0.1
wait(0.1)
script.Parent.Reflectance= 0.2
wait(0.1)
script.Parent.Reflectance= 0.3
wait(0.1)
script.Parent.Reflectance= 0.4
wait(0.1)
script.Parent.Reflectance= 0.5
wait(0.1)
script.Parent.Reflectance= 0.6
wait(0.1)
script.Parent.Reflectance= 0.7
wait(0.1)
script.Parent.Reflectance= 0.8
wait(0.1)
script.Parent.Reflectance= 0.9
wait(0.1)
script.Parent.BrickColor = BrickColor.new("Institutional white")
script.Parent.Reflectance= 1
end

2 comments
For some reason that script is not working because it's expecting an = sign near the do.
Edited, look at the second one. :)