-- +1 Strong Every Second -- Auto Rebirth + Auto Punch -- Independent Window Positions local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local TextChatService = game:GetService("TextChatService") pcall(function() local channel = TextChatService.TextChannels:WaitForChild("RBXGeneral", 5) if channel then channel:DisplaySystemMessage(player.Name .. ": Loading success") task.wait(0.5) channel:DisplaySystemMessage(player.Name .. ": Thank you very much, nzxphex dev") end end) local closed = false local autoRebirth = false local autoPunch = false -- Remotes local Rebirth = ReplicatedStorage :WaitForChild("Events") :WaitForChild("Rebirth") local function getPunch() local backpack = player:FindFirstChild("Backpack") if not backpack then return nil end local yumruk = backpack:FindFirstChild("Yumruk") if not yumruk then return nil end local punch = yumruk:FindFirstChild("Punch") if not punch then return nil end return punch:FindFirstChild("RemoteEvent") end -- GUI local gui = Instance.new("ScreenGui") gui.Name = "StrongAutomation" gui.ResetOnSpawn = false gui.DisplayOrder = 999999 gui.ZIndexBehavior = Enum.ZIndexBehavior.Global gui.IgnoreGuiInset = true gui.Parent = playerGui -- ========================= -- MAIN WINDOW -- ========================= local main = Instance.new("Frame") main.Size = UDim2.fromOffset(175,112) main.Position = UDim2.new(0.5,-87,0.5,-56) main.BackgroundColor3 = Color3.fromRGB(24,24,24) main.BackgroundTransparency = 0.05 main.BorderSizePixel = 0 main.Active = true main.Draggable = true main.ZIndex = 999999 main.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0,9) corner.Parent = main -- Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1,-60,0,27) title.Position = UDim2.fromOffset(8,3) title.BackgroundTransparency = 1 title.Text = "Automation" title.TextColor3 = Color3.new(1,1,1) title.TextSize = 15 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.ZIndex = 1000000 title.Parent = main -- Minimize local minimize = Instance.new("TextButton") minimize.Size = UDim2.fromOffset(24,24) minimize.Position = UDim2.new(1,-52,0,4) minimize.BackgroundTransparency = 1 minimize.Text = "—" minimize.TextColor3 = Color3.new(1,1,1) minimize.TextSize = 17 minimize.Font = Enum.Font.GothamBold minimize.ZIndex = 1000000 minimize.Parent = main -- Close local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(24,24) close.Position = UDim2.new(1,-27,0,4) close.BackgroundTransparency = 1 close.Text = "×" close.TextColor3 = Color3.new(1,1,1) close.TextSize = 18 close.Font = Enum.Font.GothamBold close.ZIndex = 1000000 close.Parent = main -- Rebirth local rebirthButton = Instance.new("TextButton") rebirthButton.Size = UDim2.new(1,-16,0,32) rebirthButton.Position = UDim2.fromOffset(8,34) rebirthButton.BackgroundColor3 = Color3.fromRGB(55,55,55) rebirthButton.BorderSizePixel = 0 rebirthButton.Text = "Auto Rebirth: OFF" rebirthButton.TextColor3 = Color3.new(1,1,1) rebirthButton.TextSize = 13 rebirthButton.Font = Enum.Font.GothamBold rebirthButton.ZIndex = 1000000 rebirthButton.Parent = main local rc = Instance.new("UICorner") rc.CornerRadius = UDim.new(0,7) rc.Parent = rebirthButton -- Punch local punchButton = Instance.new("TextButton") punchButton.Size = UDim2.new(1,-16,0,32) punchButton.Position = UDim2.fromOffset(8,73) punchButton.BackgroundColor3 = Color3.fromRGB(55,55,55) punchButton.BorderSizePixel = 0 punchButton.Text = "Auto Punch: OFF" punchButton.TextColor3 = Color3.new(1,1,1) punchButton.TextSize = 13 punchButton.Font = Enum.Font.GothamBold punchButton.ZIndex = 1000000 punchButton.Parent = main local pc = Instance.new("UICorner") pc.CornerRadius = UDim.new(0,7) pc.Parent = punchButton -- ========================= -- MINI BUTTON -- ========================= local mini = Instance.new("TextButton") mini.Size = UDim2.fromOffset(82,25) -- Окрема початкова позиція mini.Position = UDim2.new(0.5,-41,0.7,0) mini.BackgroundColor3 = Color3.fromRGB(25,25,25) mini.BackgroundTransparency = 0.2 mini.BorderSizePixel = 0 mini.Text = "Auto Rebirth" mini.TextColor3 = Color3.new(1,1,1) mini.TextSize = 11 mini.Font = Enum.Font.GothamBold mini.Visible = false mini.Active = true mini.Draggable = true mini.ZIndex = 999999 mini.Parent = gui local mc = Instance.new("UICorner") mc.CornerRadius = UDim.new(0,7) mc.Parent = mini -- ========================= -- TOGGLES -- ========================= rebirthButton.MouseButton1Click:Connect(function() autoRebirth = not autoRebirth if autoRebirth then rebirthButton.Text = "Auto Rebirth: ON" rebirthButton.BackgroundColor3 = Color3.fromRGB(40,120,65) else rebirthButton.Text = "Auto Rebirth: OFF" rebirthButton.BackgroundColor3 = Color3.fromRGB(55,55,55) end end) punchButton.MouseButton1Click:Connect(function() autoPunch = not autoPunch if autoPunch then punchButton.Text = "Auto Punch: ON" punchButton.BackgroundColor3 = Color3.fromRGB(40,120,65) else punchButton.Text = "Auto Punch: OFF" punchButton.BackgroundColor3 = Color3.fromRGB(55,55,55) end end) -- ========================= -- MINIMIZE -- ========================= minimize.MouseButton1Click:Connect(function() -- НЕ переносимо main до mini -- кожен має свою позицію main.Visible = false mini.Visible = true end) -- ========================= -- RESTORE -- ========================= mini.MouseButton1Click:Connect(function() -- Повертаємо main саме туди, -- де воно було перед згортанням mini.Visible = false main.Visible = true end) -- ========================= -- CLOSE -- ========================= close.MouseButton1Click:Connect(function() closed = true autoRebirth = false autoPunch = false gui:Destroy() end) -- ========================= -- AUTO REBIRTH -- ========================= task.spawn(function() while not closed do task.wait(0.1) if autoRebirth then pcall(function() Rebirth:FireServer(true) end) end end end) -- ========================= -- AUTO PUNCH -- ========================= task.spawn(function() while not closed do task.wait(0.05) if autoPunch then local punchRemote = getPunch() if punchRemote then pcall(function() punchRemote:FireServer() end) end end end end)