I'd like for all of the parts within a single model to change color at the same time. I currently have this script inside every single part that needs to change color but it just gets messy and they don't always change in sync.
while true do
script.Parent.Color = Color3.new(0,204,255)
wait(1.1)
script.Parent.Color = Color3.new(0,255,0)
wait(1.1)
script.Parent.Color = Color3.new(255,255,0)
wait(1.1)
script.Parent.Color = Color3.new(255,0,0)
wait(1.1)
script.Parent.Color = Color3.new(153,0,153)
wait(1.1)
script.Parent.Color = Color3.new(0,0,255)
wait(1.1)
end
If I could get help calling all of the children within a model and changing them together that would help me so much.

3 comments
Thanks but it's giving me an error message. Workspace.Model.Script:11: '}' expected (to close '{' at line 5) near 'Color3'
There was a missing comma in the list of colors. Edited the answer. Enjoy!
Oh! Thank you so much I really appreciate the help!