for _, Neon in pairs(game.Workspace.Folder:GetChildren()) do
if Neon:IsA("Part") and Neon.Name == "Neon" then
while wait() do
Neon.Color = Color3.fromHSV(tick()%5/5,1,1)
end
end
end
if you really want to make it so it updates all the time, use task.spawn
for _, Neon in pairs(game.Workspace.Folder:GetChildren()) do
if Neon:IsA("Part") and Neon.Name == "Neon" then
task.spawn(function()
while wait() do
Neon.Color = Color3.fromHSV(tick()%5/5,1,1)
end
end
end)
end
end
or remove the while loop if you want it only to be one color