getgenv().RainbowSpeed = 0.15 -- очень медленная и плавная смена local CoreGui = game:GetService("CoreGui") local RunService = game:GetService("RunService") -- Подключение к Heartbeat для плавной анимации RunService.Heartbeat:Connect(function() local time = tick() * getgenv().RainbowSpeed local hue = (math.sin(time) * 0.5 + 0.5) % 1 for _, v in ipairs(CoreGui:GetDescendants()) do if v:IsA("UIStroke") and v.Parent:IsA("ImageButton") and v.Parent.Parent:IsA("ScreenGui") and v.Parent.Parent.Parent:IsA("Folder") and v.Parent.Parent.Parent.Parent.Name == "CoreGui" then -- Плавное изменение оттенка с эффектом "волны" local waveHue = (hue + math.sin(time * 2) * 0.05) % 1 v.Color = Color3.fromHSV(waveHue, 1, 1) end end end)