local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local remote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("HandRequestChangeSetting") local colors = { Color3.new(0.9600433707237244, 0.5033671259880066, 0), Color3.new(0.9600433707237244, 0, 0.14859268069267273), Color3.new(0.9600433707237244, 0, 0.7200325131416321), Color3.new(0.6517159938812256, 0, 0.9600433707237244), Color3.new(0, 0.2400108426809311, 0.9600433707237244), Color3.new(0, 0.674186110496521, 0.9600433707237244), Color3.new(0, 0.9600433707237244, 0.6360089778900146), } -- Criação da GUI simples local screenGui = Instance.new("ScreenGui") screenGui.Name = "RainbowHandsGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local button = Instance.new("TextButton") button.Name = "RainbowToggleButton" button.Size = UDim2.new(0, 220, 0, 50) button.Position = UDim2.new(0.5, -110, 0.85, 0) button.Text = "turn on rainbow hands" button.TextScaled = true button.BackgroundColor3 = Color3.fromRGB(35, 35, 35) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.BorderSizePixel = 2 button.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = button -- Controle do loop local isRunning = false local delayBetweenColors = 0.25 -- Ajuste o tempo entre cada cor (em segundos) local function updateButtonVisual() if isRunning then button.Text = "turn off rainbow hands" button.BackgroundColor3 = Color3.fromRGB(45, 130, 75) else button.Text = "turn on rainbow hands" button.BackgroundColor3 = Color3.fromRGB(35, 35, 35) end end local function rainbowLoop() while isRunning do for _, color in ipairs(colors) do if not isRunning then break end local args = { 4, color, } remote:FireServer(unpack(args)) task.wait(delayBetweenColors) end end end button.MouseButton1Click:Connect(function() isRunning = not isRunning updateButtonVisual() if isRunning then task.spawn(rainbowLoop) end end)