-- Criar a interface local ScreenGui = Instance.new("ScreenGui", game.Players.LocalPlayer:WaitForChild("PlayerGui")) local MainFrame = Instance.new("Frame", ScreenGui) local ClickToggle = Instance.new("TextButton", MainFrame) local RebirthToggle = Instance.new("TextButton", MainFrame) local CloseButton = Instance.new("TextButton", MainFrame) local OpenImage = Instance.new("ImageButton", ScreenGui) -- Configurações do Frame principal (Hub) MainFrame.Size = UDim2.new(0, 200, 0, 150) MainFrame.Position = UDim2.new(0.5, -100, 0.5, -75) MainFrame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1) MainFrame.Visible = true -- Botão de Click Automático ClickToggle.Size = UDim2.new(1, 0, 0, 40) ClickToggle.Position = UDim2.new(0, 0, 0, 0) ClickToggle.Text = "Auto Click [OFF]" ClickToggle.BackgroundColor3 = Color3.fromRGB(70, 130, 180) -- Botão de Rebirth Automático RebirthToggle.Size = UDim2.new(1, 0, 0, 40) RebirthToggle.Position = UDim2.new(0, 0, 0, 50) RebirthToggle.Text = "Auto Rebirth [OFF]" RebirthToggle.BackgroundColor3 = Color3.fromRGB(100, 180, 100) -- Botão de fechar o hub CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Position = UDim2.new(1, -35, 0, 5) CloseButton.Text = "X" CloseButton.BackgroundColor3 = Color3.new(1, 0, 0) Botão de abrir o hub (imagem) OpenImage.Size = UDim2.new(0, 60, 0, 60) OpenImage.Position = UDim2.new(0, 10, 0, 10) OpenImage.Image = "rbxassetid://12222225" -- Substitua por sua imagem! OpenImage.BackgroundTransparency = 1 OpenImage.Visible = false -- Lógicas de funcionamento local autoClick = false local autoRebirth = false ClickToggle.MouseButton1Click:Connect(function() autoClick = not autoClick ClickToggle.Text = autoClick and "Auto Click [ON]" or "Auto Click [OFF]" end) RebirthToggle.MouseButton1Click:Connect(function() autoRebirth = not autoRebirth RebirthToggle.Text = autoRebirth and "Auto Rebirth [ON]" or "Auto Rebirth [OFF]" end) CloseButton.MouseButton1Click:Connect(function() MainFrame.Visible = false OpenImage.Visible = true end) OpenImage.MouseButton1Click:Connect(function() MainFrame.Visible = true OpenImage.Visible = false end) -- Loop para Auto Click task.spawn(function() while true do if autoClick then -- Simula clique (adicione a função do seu jogo aqui) game:GetService("ReplicatedStorage").Events.Click:FireServer() end task.wait(0.05) end end) -- Loop para Auto Rebirth task.spawn(function() while true do if autoRebirth then -- Simula rebirth (adicione a função do seu jogo aqui) game:GetService("ReplicatedStorage").Events.Rebirth:FireServer() end task.wait(1) end end)