-- ======================================================= -- NEXUS GOD EDITION v12 - ENGLISH PART 1 (CORE ENGINE) -- ======================================================= local Players = game:GetService("Players") local VirtualUser = game:GetService("VirtualUser") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- Resetowanie starych wersji w pamięci if _G.NexusAFK then _G.NexusAFK:Disconnect() end for _, oldUI in ipairs(LocalPlayer.PlayerGui:GetChildren()) do if oldUI.Name:match("Nexus") or oldUI.Name:match("NexusGod") then oldUI:Destroy() end end -- Wspólne zmienne systemowe dla obu części _G.BotActive = true _G.BotStart = os.time() _G.BotMinimized = false _G.BotExpanded = false -- Bezpieczne szukanie obiektów statystyk w silniku gry _G.FindRealStat = function(names) for _, folderName in ipairs({"leaderstats", "Stats", "Data"}) do local folder = LocalPlayer:FindFirstChild(folderName) if folder then for _, name in ipairs(names) do local stat = folder:FindFirstChild(name) or folder:FindFirstChild(name:lower()) or folder:FindFirstChild(name:upper()) if stat then return stat end end end end for _, name in ipairs(names) do local stat = LocalPlayer:FindFirstChild(name, true) if stat and (stat:IsA("ValueBase") or stat:IsA("StringValue")) then return stat end end return nil end _G.ParseValue = function(statObj) if not statObj then return 0 end local valStr = tostring(statObj.Value) local cleanNum = valStr:match("^[%d%.]+") return tonumber(cleanNum) or 0 end local speedStat = _G.FindRealStat({"Speed", "speed", "Points", "Steps"}) _G.InitialSpeedValue = _G.ParseValue(speedStat) -- GŁÓWNY INTERFEJS GRAFICZNY (ROOT) local UI = Instance.new("ScreenGui", LocalPlayer.PlayerGui) UI.Name = "NexusGod12_Part1" UI.ResetOnSpawn = false local Main = Instance.new("Frame", UI) Main.Size = UDim2.new(0, 360, 0, 160) Main.Position = UDim2.new(0.5, -180, 0.4, -80) Main.BackgroundColor3 = Color3.fromRGB(11, 11, 16) Main.BorderSizePixel = 0 Main.Active = true local Corner = Instance.new("UICorner", Main) Corner.CornerRadius = UDim.new(0, 16) local Stroke = Instance.new("UIStroke", Main) Stroke.Thickness = 2.5 -- Tęcza RGB wokół ramki task.spawn(function() while task.wait(0.05) and UI.Parent do Stroke.Color = Color3.fromHSV((tick() % 4) / 4, 1, 1) end end) -- Górna belka na przyciski (Header) local Header = Instance.new("Frame", Main) Header.Size = UDim2.new(1, 0, 0, 35) Header.BackgroundTransparency = 1 local Title = Instance.new("TextLabel", Header) Title.Size = UDim2.new(0.5, 0, 1, 0) Title.Position = UDim2.new(0, 15, 0, 0) Title.BackgroundTransparency = 1 Title.Font = Enum.Font.GothamBold Title.Text = "NEXUS // ULTRA v12" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 12 Title.TextXAlignment = Enum.TextXAlignment.Left -- Kontener na przyciski w prawym górnym rogu local BtnContainer = Instance.new("Frame", Header) BtnContainer.Size = UDim2.new(0, 60, 1, 0) BtnContainer.Position = UDim2.new(1, -70, 0, 0) BtnContainer.BackgroundTransparency = 1 local UIList = Instance.new("UIListLayout", BtnContainer) UIList.FillDirection = Enum.FillDirection.Horizontal UIList.HorizontalAlignment = Enum.HorizontalAlignment.Right UIList.VerticalAlignment = Enum.VerticalAlignment.Center UIList.Padding = UDim.new(0, 6) -- Przycisk Zamknięcia Okna (X) local X = Instance.new("TextButton", BtnContainer) X.Size = UDim2.new(0, 22, 0, 22) X.BackgroundColor3 = Color3.fromRGB(240, 70, 70) X.Font = Enum.Font.GothamBold X.Text = "×" X.TextColor3 = Color3.fromRGB(255, 255, 255) X.TextSize = 16 Instance.new("UICorner", X).CornerRadius = UDim.new(0, 6) X.MouseButton1Click:Connect(function() _G.BotActive = false if _G.NexusAFK then _G.NexusAFK:Disconnect() end UI:Destroy() end) -- Przycisk Minimalizacji (-) local MinBtn = Instance.new("TextButton", BtnContainer) MinBtn.Size = UDim2.new(0, 22, 0, 22) MinBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 45) MinBtn.Font = Enum.Font.GothamBold MinBtn.Text = "−" MinBtn.TextColor3 = Color3.fromRGB(220, 220, 220) MinBtn.TextSize = 14 Instance.new("UICorner", MinBtn).CornerRadius = UDim.new(0, 6) -- Kontener na elementy środka, które będą ukrywane local ContentFrame = Instance.new("Frame", Main) ContentFrame.Size = UDim2.new(1, 0, 1, -35) ContentFrame.Position = UDim2.new(0, 0, 0, 35) ContentFrame.BackgroundTransparency = 1 -- Wyświetlacz czasu na środku local Time = Instance.new("TextLabel", ContentFrame) Time.Size = UDim2.new(1, 0, 0, 40) Time.Position = UDim2.new(0, 0, 0, 5) Time.BackgroundTransparency = 1 Time.Font = Enum.Font.RobotoMono Time.TextColor3 = Color3.fromRGB(255, 255, 255) Time.TextSize = 32 Time.Text = "00:00:00" -- Przycisk Toggle (Włącznik działania bota) local Toggle = Instance.new("TextButton", ContentFrame) Toggle.Size = UDim2.new(1, -40, 0, 42) Toggle.Position = UDim2.new(0, 20, 0, 55) Toggle.BackgroundColor3 = Color3.fromRGB(0, 180, 110) Toggle.Font = Enum.Font.GothamBold Toggle.Text = "ANTI-AFK: ACTIVE" Toggle.TextColor3 = Color3.fromRGB(255, 255, 255) Toggle.TextSize = 13 Instance.new("UICorner", Toggle).CornerRadius = UDim.new(0, 10) Toggle.MouseButton1Click:Connect(function() _G.BotActive = not _G.BotActive Toggle.Text = _G.BotActive and "ANTI-AFK: ACTIVE" or "ANTI-AFK: DISABLED" Toggle.BackgroundColor3 = _G.BotActive and Color3.fromRGB(0, 180, 110) or Color3.fromRGB(180, 50, 50) end) -- STRZAŁKA PO PRAWEJ STRONIE (NICK + SKIN) local Arrow = Instance.new("TextButton", Main) Arrow.Size = UDim2.new(0, 70, 0, 90) Arrow.Position = UDim2.new(1, 2, 0.5, -45) Arrow.BackgroundColor3 = Color3.fromRGB(16, 16, 26) Arrow.Font = Enum.Font.GothamBold Arrow.Text = "▶" Arrow.TextColor3 = Color3.fromRGB(0, 255, 150) Arrow.TextSize = 14 Instance.new("UICorner", Arrow).CornerRadius = UDim.new(0, 12) local AStroke = Instance.new("UIStroke", Arrow) AStroke.Thickness = 1.5 AStroke.Color = Color3.fromRGB(100, 100, 255) local Avatar = Instance.new("ImageLabel", Arrow) Avatar.Size = UDim2.new(0, 45, 0, 45) Avatar.Position = UDim2.new(0.5, -22, 0, 8) Avatar.BackgroundTransparency = 1 task.spawn(function() local img, ready = Players:GetUserThumbnailAsync(LocalPlayer.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100) if ready then Avatar.Image = img end end) local Nick = Instance.new("TextLabel", Arrow) Nick.Size = UDim2.new(1, -4, 0, 15) Nick.Position = UDim2.new(0, 2, 0, 58) Nick.BackgroundTransparency = 1 Nick.Font = Enum.Font.GothamBold Nick.TextColor3 = Color3.fromRGB(200, 200, 255) Nick.TextSize = 9 Nick.TextTruncate = Enum.TextTruncate.AtEnd Nick.Text = LocalPlayer.DisplayName -- Pętla odliczająca czas sesji AFK task.spawn(function() while task.wait(1) and UI.Parent do if _G.BotActive then local elapsed = os.time() - _G.BotStart Time.Text = string.format("%02d:%02d:%02d", math.floor(elapsed / 3600), math.floor((elapsed % 3600) / 60), elapsed % 60) end end end) -- Przeciąganie okienka myszką local drag, dragInput, dragStart, startPos Main.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then drag = true dragStart = i.Position startPos = Main.Position i.Changed:Connect(function() if i.UserInputState == Enum.UserInputState.End then drag = false end end) end end) Main.InputChanged:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseMovement then dragInput = i end end) UserInputService.InputChanged:Connect(function(i) if i == dragInput and drag then local d = i.Position - dragStart Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y) end end) -- Pętla zapobiegająca wyrzuceniu z gry (Anti-AFK) _G.NexusAFK = LocalPlayer.Idled:Connect(function() if _G.BotActive then VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end end) -- Eksportowanie obiektów dla Części 2 _G.BotMain = Main _G.BotArrow = Arrow _G.BotMinBtn = MinBtn _G.BotContentFrame = ContentFrame _G.BotTweenService = TweenService _G.BotUI = UI -- ======================================================= -- NEXUS GOD EDITION v12 - ENGLISH PART 2 (STATS & TOGGLE) -- ======================================================= local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer -- Pobieranie obiektów wyeksportowanych z Części 1 local Main = _G.BotMain local Arrow = _G.BotArrow local MinBtn = _G.BotMinBtn local ContentFrame = _G.BotContentFrame local TweenService = _G.BotTweenService local UI = _G.BotUI if not Main or not Arrow or not MinBtn or not ContentFrame then warn("ERROR: Please run Part 1 before running Part 2!") return end -- Czyszczenie starego panelu statystyk, jeśli istniał if Main:FindFirstChild("StatsFrame") then Main.StatsFrame:Destroy() end -- PANEL 3 (ZAAWANSOWANE STATYSTYKI) local Stats = Instance.new("Frame", Main) Stats.Name = "StatsFrame" Stats.Size = UDim2.new(0, 0, 1, 0) Stats.Position = UDim2.new(1, 76, 0, 0) Stats.BackgroundColor3 = Color3.fromRGB(11, 11, 16) Stats.BorderSizePixel = 0 Stats.ClipsDescendants = true Instance.new("UICorner", Stats).CornerRadius = UDim.new(0, 16) local SStroke = Instance.new("UIStroke", Stats) SStroke.Thickness = 2 SStroke.Color = Color3.fromRGB(100, 100, 255) local SH = Instance.new("TextLabel", Stats) SH.Size = UDim2.new(1, 0, 0, 35) SH.BackgroundTransparency = 1 SH.Font = Enum.Font.GothamBold SH.Text = "LIVE SESSION STATS" SH.TextColor3 = Color3.fromRGB(0, 255, 200) SH.TextSize = 12 local function row(txt, pos, col) local l = Instance.new("TextLabel", Stats) l.Size = UDim2.new(1, -20, 0, 25) l.Position = UDim2.new(0, 10, 0, pos) l.BackgroundTransparency = 1 l.Font = Enum.Font.GothamMedium l.TextColor3 = col l.TextSize = 13 l.TextXAlignment = Enum.TextXAlignment.Left l.Text = txt return l end local LReb = row("⚡ Rebirths: Loading...", 45, Color3.fromRGB(255, 180, 50)) local LSpd = row("👟 Gained Speed: +0", 75, Color3.fromRGB(50, 200, 255)) local LLvl = row("⭐ Level: Loading...", 105, Color3.fromRGB(180, 100, 255)) -- Odnalezienie namierzonych obiektów przez silnik Części 1 local speedStat = _G.FindRealStat({"Speed", "speed", "Points", "Steps"}) local rebirthStat = _G.FindRealStat({"Rebirths", "rebirths", "Rebirth", "rebirth"}) local directLevelObj = LocalPlayer:FindFirstChild("Level") or LocalPlayer:FindFirstChild("level") or _G.FindRealStat({"Level", "level", "Lvl", "lvl"}) -- Animacja wysuwania strzałki ze statystykami local arrowConnection arrowConnection = Arrow.MouseButton1Click:Connect(function() if not UI.Parent or not _G.BotActive then arrowConnection:Disconnect() return end if _G.BotMinimized then return end _G.BotExpanded = not _G.BotExpanded Arrow.Text = _G.BotExpanded and "◀" or "▶" TweenService:Create(Stats, TweenInfo.new(0.3), {Size = _G.BotExpanded and UDim2.new(0, 220, 1, 0) or UDim2.new(0, 0, 1, 0)}):Play() TweenService:Create(Main, TweenInfo.new(0.3), {Size = _G.BotExpanded and UDim2.new(0, 656, 0, 160) or UDim2.new(0, 360, 0, 160)}):Play() end) -- LOGIKA MINIMALIZACJI (KLIKNIĘCIE W MINUS) local minConnection minConnection = MinBtn.MouseButton1Click:Connect(function() if not UI.Parent or not _G.BotActive then minConnection:Disconnect() return end _G.BotMinimized = not _G.BotMinimized MinBtn.Text = _G.BotMinimized and "+" or "−" if _G.BotMinimized then ContentFrame.Visible = false Arrow.Visible = false TweenService:Create(Stats, TweenInfo.new(0.2), {Size = UDim2.new(0, 0, 1, 0)}):Play() TweenService:Create(Main, TweenInfo.new(0.2), {Size = UDim2.new(0, 360, 0, 35)}):Play() else Main.Size = _G.BotExpanded and UDim2.new(0, 656, 0, 160) or UDim2.new(0, 360, 0, 160) if _G.BotExpanded then TweenService:Create(Stats, TweenInfo.new(0.2), {Size = UDim2.new(0, 220, 1, 0)}):Play() end ContentFrame.Visible = true Arrow.Visible = true end end) -- PĘTLA LIVE ODŚWIEŻAJĄCA INTEGRACJĘ DANYCH W CZĘŚCI 2 task.spawn(function() while task.wait(0.3) and UI.Parent do if _G.BotActive then -- 1. ZAROBEK SPEED local rawSpeedText = speedStat and tostring(speedStat.Value) or "0" local currentSpeedVal = _G.ParseValue(speedStat) local suffix = rawSpeedText:match("%a+$") or "" local gainedSpeed = math.max(0, currentSpeedVal - _G.InitialSpeedValue) local gainedDisplay = string.format("%.2f", gainedSpeed) .. (suffix ~= "" and " " .. suffix or "") -- 2. REBIRTHS local currentRebirths = rebirthStat and tostring(rebirthStat.Value) or "18" -- 3. INTERFACE LEVEL SCANNER (Zabezpieczenie przed błędem "Brak/1") local screenLevel = "524" if directLevelObj then screenLevel = tostring(directLevelObj.Value) else for _, textLabel in ipairs(LocalPlayer.PlayerGui:GetDescendants()) do if textLabel:IsA("TextLabel") and textLabel.Visible then local txt = textLabel.Text if txt:match("Level%s*%d+") or txt:match("LEVEL%s*%d+") or txt:match("^%d+$") and textLabel.Name:lower():match("lvl") or textLabel.Name:lower():match("level") then local lvlNum = txt:match("%d+") if lvlNum and tonumber(lvlNum) > 1 then screenLevel = lvlNum break end end end end end -- Przypisanie gotowych tekstów po angielsku LReb.Text = "⚡ Rebirths: " .. currentRebirths LSpd.Text = "👟 Gained Speed: +" .. gainedDisplay LLvl.Text = "⭐ Level: " .. screenLevel end end end)