local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Name = "RebirthUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local main = Instance.new("Frame") main.Size = UDim2.new(0, 200, 0, 120) main.Position = UDim2.new(0.5, -100, 0.5, -60) main.BackgroundColor3 = Color3.fromRGB(30, 30, 40) main.BorderSizePixel = 0 main.Active = true main.Draggable = true main.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = main local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(0, 200, 255) stroke.Thickness = 2 stroke.Parent = main local title = Instance.new("TextLabel") title.Text = "REBIRTH by 1w69💎 " title.Size = UDim2.new(1, 0, 0, 40) title.BackgroundColor3 = Color3.fromRGB(40, 40, 60) title.TextColor3 = Color3.fromRGB(0, 255, 255) title.Font = Enum.Font.GothamBold title.TextSize = 16 title.Parent = main local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 10, 0, 0) titleCorner.Parent = title local closeBtn = Instance.new("TextButton") closeBtn.Text = "X" closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 5) closeBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60) closeBtn.TextColor3 = Color3.new(1, 1, 1) closeBtn.Font = Enum.Font.GothamBlack closeBtn.TextSize = 16 closeBtn.Parent = title local content = Instance.new("Frame") content.Size = UDim2.new(1, -20, 0, 70) content.Position = UDim2.new(0, 10, 0, 45) content.BackgroundTransparency = 1 content.Parent = main local autoBtn = Instance.new("TextButton") autoBtn.Text = "AUTO REBIRTH: OFF" autoBtn.Size = UDim2.new(1, 0, 0, 60) autoBtn.Position = UDim2.new(0, 0, 0, 0) autoBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) autoBtn.TextColor3 = Color3.new(1, 1, 1) autoBtn.Font = Enum.Font.GothamBold autoBtn.TextSize = 18 autoBtn.Parent = content local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 8) btnCorner.Parent = autoBtn local autoEnabled = false local autoConnection = nil local RunService = game:GetService("RunService") local function toggleAutoRebirth() autoEnabled = not autoEnabled if autoEnabled then autoBtn.Text = "AUTO REBIRTH: ON" autoBtn.BackgroundColor3 = Color3.fromRGB(80, 255, 80) if autoConnection then autoConnection:Disconnect() end autoConnection = RunService.RenderStepped:Connect(function() local rebirthRemote = ReplicatedStorage:FindFirstChild("Remotes") if rebirthRemote then rebirthRemote = rebirthRemote:FindFirstChild("Rebirth") if rebirthRemote then if rebirthRemote:IsA("RemoteEvent") then pcall(function() rebirthRemote:FireServer() end) elseif rebirthRemote:IsA("RemoteFunction") then pcall(function() rebirthRemote:InvokeServer() end) end end end end) else autoBtn.Text = "AUTO REBIRTH: OFF" autoBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) if autoConnection then autoConnection:Disconnect() autoConnection = nil end end end autoBtn.MouseButton1Click:Connect(toggleAutoRebirth) closeBtn.MouseButton1Click:Connect(function() if autoEnabled then toggleAutoRebirth() end gui:Destroy() end) closeBtn.MouseEnter:Connect(function() closeBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 100) end) closeBtn.MouseLeave:Connect(function() closeBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60) end) autoBtn.MouseEnter:Connect(function() if autoEnabled then autoBtn.BackgroundColor3 = Color3.fromRGB(100, 255, 100) else autoBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 100) end end) autoBtn.MouseLeave:Connect(function() if autoEnabled then autoBtn.BackgroundColor3 = Color3.fromRGB(80, 255, 80) else autoBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) end end)