of     1   

excellentAnarchy
#138858818Tuesday, July 01, 2014 2:13 PM GMT

local children = Workspace.Stair:GetChildren() for i = 1, #children do while true do children.BrickColor = Color3(math.random(), math.random(), math.random() wait(0.5) end end -- what im trying to do is to make a whole model change to another random color after 1/2 of a second this is probably done completely wrong.
excellentAnarchy
#138860424Tuesday, July 01, 2014 2:35 PM GMT

please?
laurhublox
#138861634Tuesday, July 01, 2014 2:53 PM GMT

it was close. ------------------------- local children = Workspace.Stair:GetChildren() for i = 1, #children do while true do children.BrickColor = BrickColor.new(math.random(), math.random(), math.random() wait(0.5) end end try that.
Bebee2
#138861704Tuesday, July 01, 2014 2:54 PM GMT

local children = Workspace.Stair:GetChildren() for i = 1, #children do Spawn(function() while true do children[i].BrickColor = BrickColor.random() wait(0.5) end end) end
laurhublox
#138861752Tuesday, July 01, 2014 2:55 PM GMT

oh ya didn't notice the children[i] -slams head violently against wall-
Bebee2
#138861952Tuesday, July 01, 2014 2:58 PM GMT

That's not all... ')' expected at line 4 The while true do is the priority making it so it would keep running that block... in other words it changes the color of one part. Neither of your scripts properly gets a random BrickColor. Technically, this would work tho: children[1].BrickColor = BrickColor.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)
excellentAnarchy
#138869066Tuesday, July 01, 2014 4:26 PM GMT

Changing a light's colour would be: local lt = script.Parent.PointLight while true do lt.Color = Color3.new(math.random(0,255),255,math.random(0,255),255,math.random(0,255),255) end -- im new and it seems fine to me :/
Bebee2
#138914174Tuesday, July 01, 2014 11:08 PM GMT

local lt = script.Parent.PointLight while true do lt.Color = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) wait(1.2) end
XAXA
#138914676Tuesday, July 01, 2014 11:12 PM GMT

Here: local children = Workspace.Stair:GetChildren() while wait(0.5) do for i, v in pairs(children) do v.BrickColor = BrickColor.Random() end end

    of     1