-- CHX | FIND ALL BRAINROTS -- LocalScript dentro de StarterPlayerScripts --== GUI CREACIÓN AUTOMÁTICA ==-- local player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Name = "CHX_FindBrainrots" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") --== BOTÓN OPEN/CLOSE ==-- local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0,100,0,40) toggleButton.Position = UDim2.new(0,20,0,200) toggleButton.Text = "OPEN" toggleButton.BackgroundColor3 = Color3.new(0,0,0) toggleButton.BackgroundTransparency = .3 toggleButton.TextColor3 = Color3.new(1,1,1) toggleButton.Font = Enum.Font.Arcade toggleButton.TextSize = 20 toggleButton.Active = true toggleButton.Draggable = true toggleButton.Parent = gui --== MAIN HUB ==-- local main = Instance.new("Frame") main.Size = UDim2.new(0,300,0,180) main.Position = UDim2.new(.5,-150,.5,-90) main.BackgroundColor3 = Color3.new(0,0,0) main.BackgroundTransparency = .35 main.Active = true main.Draggable = true main.Visible = false main.Parent = gui -- Borde arcoíris local uiStroke = Instance.new("UIStroke", main) uiStroke.Thickness = 3 -- Título local title = Instance.new("TextLabel") title.Size = UDim2.new(1,0,0,40) title.Position = UDim2.new(0,0,0,0) title.Text = "CHX | FIND ALL BRAINROTS" title.BackgroundTransparency = 1 title.TextColor3 = Color3.new(1,1,1) title.Font = Enum.Font.Arcade title.TextSize = 20 title.Parent = main -- Botón FIND ALL local findBtn = Instance.new("TextButton") findBtn.Size = UDim2.new(0,200,0,50) findBtn.Position = UDim2.new(.5,-100,.5,-25) findBtn.Text = "FIND ALL" findBtn.BackgroundColor3 = Color3.fromRGB(30,30,30) findBtn.BackgroundTransparency = .2 findBtn.TextColor3 = Color3.new(1,1,1) findBtn.Font = Enum.Font.Arcade findBtn.TextSize = 22 findBtn.Parent = main --== OCULTAR / MOSTRAR ==-- local open = false toggleButton.MouseButton1Click:Connect(function() open = not open main.Visible = open toggleButton.Text = open and "CLOSE" or "OPEN" end) --== EFECTO BORDE RGB ==-- task.spawn(function() while task.wait() do local t = tick() * 2 uiStroke.Color = Color3.fromHSV((t % 1), 1, 1) end end) --== FUNCIÓN FIND ALL ==-- findBtn.MouseButton1Click:Connect(function() local folder = workspace:FindFirstChild("Brainrots") if not folder then warn("No existe la carpeta workspace.Brainrots") return end local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not hrp then return end for _, part in ipairs(folder:GetDescendants()) do if part:IsA("BasePart") then hrp.CFrame = part.CFrame + Vector3.new(0,3,0) task.wait(0.7) -- tiempo entre teleports end end end)