--[[ TROLLGE CONTINUES - ULTIMATE MOD MENU Функции: - One Hit Kill (моментальное убийство мобов) - God Mode (неуязвимость игрока) - Настраиваемый радиус - Меню открывается/закрывается по кнопке - Сохранение настроек ]] -- ========================================== -- ЗАГРУЗКА БИБЛИОТЕКИ -- ========================================== local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))() local Window = Library.CreateLib("💀 TROLLGE MOD MENU 💀", "DarkTheme") -- ========================================== -- ПЕРЕМЕННЫЕ -- ========================================== local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local rootPart = character:WaitForChild("HumanoidRootPart") local Settings = { OneHitKill = false, GodMode = false, KillRadius = 50, MenuVisible = true } local MenuToggle = nil local MenuButton = nil -- ========================================== -- СОЗДАНИЕ КНОПКИ ДЛЯ ОТКРЫТИЯ МЕНЮ (ScreenGui) -- ========================================== local ScreenGui = Instance.new("ScreenGui") local ToggleButton = Instance.new("TextButton") local UICorner = Instance.new("UICorner") ScreenGui.Name = "TrollgeMenuButton" ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false ToggleButton.Name = "ToggleButton" ToggleButton.Parent = ScreenGui ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) ToggleButton.BackgroundTransparency = 0.2 ToggleButton.BorderSizePixel = 0 ToggleButton.Position = UDim2.new(0, 10, 0.5, -25) ToggleButton.Size = UDim2.new(0, 50, 0, 50) ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Text = "💀" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 30 ToggleButton.Draggable = true UICorner.Parent = ToggleButton UICorner.CornerRadius = UDim.new(0, 25) -- ========================================== -- ФУНКЦИЯ ОТКРЫТИЯ/ЗАКРЫТИЯ МЕНЮ -- ========================================== function ToggleMenu() Settings.MenuVisible = not Settings.MenuVisible if Settings.MenuVisible then Library:ToggleUI() -- Открываем меню библиотеки ToggleButton.Text = "💀" ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) else Library:ToggleUI() -- Закрываем меню библиотеки ToggleButton.Text = "👁️" ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) end end ToggleButton.MouseButton1Click:Connect(ToggleMenu) -- Также можно открывать/закрывать клавишей (по желанию) -- Нажми P для открытия/закрытия game:GetService("UserInputService").InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.P then ToggleMenu() end end) -- ========================================== -- СОЗДАНИЕ ВКЛАДОК МЕНЮ -- ========================================== -- ВКЛАДКА: One Hit Kill local MainTab = Window:NewTab("💀 One Hit Kill") local MainSection = MainTab:NewSection("Моментальное убийство мобов") MainSection:NewToggle("🔪 One Hit Kill", "Мобы умирают мгновенно", function(state) Settings.OneHitKill = state print(state and "✅ One Hit Kill ON" or "❌ One Hit Kill OFF") end) MainSection:NewToggle("🛡️ God Mode", "Вас невозможно убить", function(state) Settings.GodMode = state print(state and "✅ God Mode ON" or "❌ God Mode OFF") end) MainSection:NewSlider("📏 Радиус убийства", "Дистанция поражения мобов", 100, 10, function(value) Settings.KillRadius = value print("📏 Радиус: " .. value) end) MainSection:NewButton("💥 УБИТЬ ВСЕХ МОБОВ", "Очистить карту", function() KillAllMobs() end) MainSection:NewLabel("──────────────") MainSection:NewLabel("🎮 Нажми P или на кнопку 💀") MainSection:NewLabel("👑 чтобы открыть/закрыть меню") -- ВКЛАДКА: Настройки local SettingsTab = Window:NewTab("⚙️ Настройки") local SettingsSection = SettingsTab:NewSection("Управление меню") SettingsSection:NewButton("🔄 Обновить персонажа", "Если сломался God Mode", function() UpdateCharacter() end) SettingsSection:NewKeybind("⌨️ Горячая клавиша", "Открыть/закрыть меню", Enum.KeyCode.P, function() ToggleMenu() end) SettingsSection:NewButton("📌 Переключить меню", "Нажми чтобы открыть/закрыть", function() ToggleMenu() end) SettingsSection:NewButton("❌ Закрыть меню", "Полностью закрыть", function() Library:DestroyUI() ScreenGui:Destroy() end) -- ВКЛАДКА: Статистика local StatsTab = Window:NewTab("📊 Статистика") local StatsSection = StatsTab:NewSection("Информация") StatsSection:NewLabel("👤 Игрок: " .. player.Name) StatsSection:NewLabel("❤️ Здоровье: " .. math.floor(humanoid.Health) .. "/" .. math.floor(humanoid.MaxHealth)) StatsSection:NewLabel("📍 Позиция: X=" .. math.floor(rootPart.Position.X) .. " Y=" .. math.floor(rootPart.Position.Y) .. " Z=" .. math.floor(rootPart.Position.Z)) -- Обновление статистики game:GetService("RunService").Heartbeat:Connect(function() if Settings.MenuVisible then -- Можно обновлять статистику если нужно end end) -- ========================================== -- ОСНОВНАЯ ЛОГИКА -- ========================================== -- 1. GOD MODE (Неуязвимость) game:GetService("RunService").Stepped:Connect(function() if Settings.GodMode and player.Character and player.Character:FindFirstChild("Humanoid") then -- Бесконечное здоровье player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth -- Защита от падения if player.Character.Humanoid:FindFirstChild("FallingDown") then player.Character.Humanoid.FallingDown:Destroy() end -- Иммунитет к статусам player.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) player.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) player.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) -- Если вдруг умер - воскресаем if player.Character.Humanoid.Health <= 0 then player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth player.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) end end end) -- 2. ONE HIT KILL game:GetService("RunService").Stepped:Connect(function() if Settings.OneHitKill and rootPart then KillMobsInRadius() end end) -- Функция убийства мобов в радиусе function KillMobsInRadius() local enemiesFolder = workspace:FindFirstChild("Enemies") or workspace:FindFirstChild("Mobs") or workspace:FindFirstChild("NPCs") or workspace for _, mob in ipairs(enemiesFolder:GetChildren()) do if mob:FindFirstChild("Humanoid") and mob:FindFirstChild("HumanoidRootPart") then local mobHumanoid = mob.Humanoid local mobRoot = mob.HumanoidRootPart if mobHumanoid.Health > 0 then local distance = (rootPart.Position - mobRoot.Position).Magnitude if distance <= Settings.KillRadius then mobHumanoid.Health = 0 if mob:FindFirstChild("Health") then mob.Health.Value = 0 end -- Эффект смерти local effect = Instance.new("Part") effect.Size = Vector3.new(3, 3, 3) effect.Position = mobRoot.Position effect.BrickColor = BrickColor.new("Really red") effect.Material = Enum.Material.Neon effect.Anchored = true effect.CanCollide = false effect.Parent = workspace game:GetService("Debris"):AddItem(effect, 0.5) end end end end end -- Функция убийства всех мобов function KillAllMobs() local count = 0 local enemiesFolder = workspace:FindFirstChild("Enemies") or workspace:FindFirstChild("Mobs") or workspace:FindFirstChild("NPCs") or workspace for _, mob in ipairs(enemiesFolder:GetChildren()) do if mob:FindFirstChild("Humanoid") then mob.Humanoid.Health = 0 count = count + 1 end end game.StarterGui:SetCore("SendNotification", { Title = "One Hit Kill", Text = "Убито мобов: " .. count, Duration = 3 }) end -- Функция обновления персонажа function UpdateCharacter() character = player.Character if character then humanoid = character:FindFirstChild("Humanoid") or character:WaitForChild("Humanoid") rootPart = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart") print("✅ Персонаж обновлен") end end -- Защита при смерти/респавне player.CharacterAdded:Connect(function(newChar) character = newChar humanoid = newChar:WaitForChild("Humanoid") rootPart = newChar:WaitForChild("HumanoidRootPart") if Settings.GodMode then humanoid.Health = humanoid.MaxHealth end end) -- Anti-AFK local vu = game:GetService("VirtualUser") player.Idled:Connect(function() vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) wait(1) vu:Button2Up(Vector2.new(0,0)) end) -- ========================================== -- ЗАВЕРШЕНИЕ -- ========================================== print("✅ ULTIMATE MOD MENU загружен!") print("🔥 Нажми P или нажми на красную кнопку 💀 чтобы открыть/закрыть меню") print("👑 One Hit Kill + God Mode готовы к использованию")