I am coming back to scripting after a while and just looking at some random creations in the toolbox and trying to create whatever comes to my head.
local colours = {"Really Red", "Royal Purple", "Dark Blue", "Lime Green"}
local colour = script.Parent
print("variables")
while true do
for i,v in pairs(colours) do
print("working")
colour.BrickColor = BrickColor.new(v)
print("colour changed")
wait(5)
end
end
Both of the print statements, working and colour changed print but the brickcolor of the part doesn’t change.