--BROUGHT TO YOU BY RobloxScripter.com!--
local r = 255
local g = 0
local b = 0
local frame = {}
local img = {}
local text = {}
task.spawn(function()
while task.wait() do
while g 0 do
task.wait() r = r - 1
end
while g == 255 and b 0 do
task.wait() g = g - 1
end
while b == 255 and r 0 do
task.wait() b = b - 1
end
end
end)
task.spawn(function()
while task.wait() do
for i,v in pairs(frame) do
v.BackgroundColor3 = Color3.fromRGB(r,g,b)
end
for i,v in pairs(img) do
v.ImageColor3 = Color3.fromRGB(r,g,b)
v.BackgroundColor3 = Color3.fromRGB(r,g,b)
end
for i,v in pairs(text) do
v.TextColor3 = Color3.fromRGB(r,g,b)
v.BackgroundColor3 = Color3.fromRGB(r,g,b)
end
end
end)
for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetDescendants()) do
if v:IsA("Frame") then
table.insert(frame,v)
elseif v:IsA("ImageLabel") or v:IsA("ImageButton") then
table.insert(img,v)
elseif v:IsA("TextLabel") then
table.insert(text,v)
end
end
game.Players.LocalPlayer.PlayerGui.DescendantAdded:Connect(function(v)
if v:IsA("Frame") then
table.insert(frame,v)
elseif v:IsA("ImageLabel") or v:IsA("ImageButton") then
table.insert(img,v)
elseif v:IsA("TextLabel") then
table.insert(text,v)
end
end)