So i made this gui, and i was going to make a button change color like its rainbow, but it didnt work pls help!
while true do script.Parent.Parent.Vip.BackgroundColor3 = Color3.new(153,0,153) wait(2) script.Parent.Parent.Vip.BackgroundColor3 = Color3.new(0,255,0) wait(2) end
In this case you need to use Color3.fromRGB()
while true do script.Parent.Parent.Vip.BackgroundColor3 = Color3.fromRGB(153,0,153) wait(2) script.Parent.Parent.Vip.BackgroundColor3 = Color3.fromRGB(0,255,0) wait(2) end
Though if you want to make a real rainbow effect
while true do for i=0, 1, 0.01 do Parent.Parent.Vip.BackgroundColor3 = Color3.fromHSV(i,1,1) wait() end end