Color changing Value

I explain the Situation:
I have a Color3Value and i want a script that makes the Value chaning the Colors permanent.
Just like this Script, it makes a Part change the Color but i don’t want it for a Part i want it for my Color3Value and thats my Problem

wait(0.5) 

while true do 

wait(0.5) 
game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(255, 0, 0)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(255, 155, 0)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(255, 255, 0)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(0, 255, 0)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(0, 255, 255)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(0, 155, 255)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(255, 0, 255)}):Play() 
wait(0.5)

game:GetService('TweenService'):Create(
   script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Color = Color3.fromRGB(255, 0, 155)}):Play() 
wait(0.5)


end 


I hope someone can help me