Greetings, Im trying to make it so my lamp post switch from the color Green to Red every couple of seconds however, I can’t figure out how to make it loop. It will work without the loop but I don’t want them to stay one color.
for _,object in pairs(placeToScan:GetChildren()) do
if object:IsA("BasePart") and object.Name == "Meshes/lamba_Cube.004" then
while true do
object.BrickColor = BrickColor.new("Bright green")
object.BrickColor = BrickColor.new("Really red")
Any help will be much appreciated!