-- Проверка наличия GUI if not game.Players.LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("VBC_rg_gui") then local nodoors = false local walkspeed = false local killaura = false local godmode = false -- Переменная для режима бесмертия local weaponID -- Проверка авторства spawn(function() while true do if game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.cheats.credits.text.Text ~= "Made by adminbroyt" then game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.cheats.credits.text.Text = "Made by adminbroyt" end wait(3) end end) -- Получение ID оружия local function getWID() for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("Model") and v.Name ~= "HumanoidRootPart" then weaponID = v.Name end end end -- Функция для отключения дверей local function nodoors_f(state) if workspace.Terrain:FindFirstChild("DungeonBoss") then for _, v in pairs(workspace.Terrain:GetChildren()) do if string.find(v.Name, "DungeonPiece") or v.Name == "DungeonBoss" then for _, v2 in pairs(v.Door:GetChildren()) do if v2:IsA("BasePart") then v2.CanCollide = state v2.Anchored = not state -- Предотвращает движение объектов end end end end elseif not state then game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.cheats.credits.text.Text = "Error: You must join the dungeon!" end end -- Создание GUI local screengui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) screengui.DisplayOrder = 999999999 screengui.Name = "VBC_rg_gui" -- Основной фрейм local main = Instance.new("Frame", screengui) main.Name = "main" main.BackgroundTransparency = 0.999 main.Size = UDim2.new(1, 1, 1, 1) main.ZIndex = 999999999 -- Верхняя панель local top = Instance.new("Frame", main) top.Name = "top" top.BackgroundColor3 = Color3.fromRGB(55, 55, 55) top.BorderSizePixel = 0 top.Position = UDim2.new(0.188, 0, 0.102, 0) top.Size = UDim2.new(0.2, 0, 0.03, 0) top.ZIndex = 999999998 -- Кнопка сворачивания local arrow = Instance.new("TextButton", top) arrow.Name = "arrow" arrow.BackgroundTransparency = 1 arrow.Size = UDim2.new(0.991, 1, 1, 1) arrow.Font = Enum.Font.GothamBold arrow.Text = "[T] <" arrow.TextColor3 = Color3.fromRGB(255, 255, 255) arrow.TextScaled = true arrow.ZIndex = 999999999 arrow.TextXAlignment = Enum.TextXAlignment.Right -- Скрипт для кнопки сворачивания local function arrow_f() if arrow.Text == "[T] <" then arrow.Text = "[T] X" main:FindFirstChild("cheats").Visible = true else arrow.Text = "[T] <" main:FindFirstChild("cheats").Visible = false end end arrow.MouseButton1Click:Connect(arrow_f) game:GetService("UserInputService").InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.T then arrow_f() end end) -- Вкладка "Cheats" local cheats = Instance.new("TextButton", top) cheats.Name = "cheats" cheats.BackgroundTransparency = 1 cheats.Position = UDim2.new(0.002, 0, 0, 0) cheats.Size = UDim2.new(0.9, 1, 1, 1) cheats.Font = Enum.Font.GothamBold cheats.Text = "Cheats" cheats.TextColor3 = Color3.fromRGB(255, 255, 255) cheats.TextScaled = true cheats.ZIndex = 999999999 cheats.TextXAlignment = Enum.TextXAlignment.Left -- Основное меню local cheats_menu = Instance.new("Frame", main) cheats_menu.Name = "cheats" cheats_menu.BackgroundColor3 = Color3.fromRGB(74, 74, 74) cheats_menu.BorderSizePixel = 0 cheats_menu.Position = UDim2.new(0.188, 0, 0.135, 0) cheats_menu.Size = UDim2.new(0.2, 0, 0.165, 0) cheats_menu.ZIndex = 999999997 cheats_menu.Visible = false -- Раздел "Credits" local credits = Instance.new("TextLabel", cheats_menu) credits.Name = "credits" credits.BackgroundTransparency = 1 credits.Position = UDim2.new(0, 0, 0.8, 0) credits.Size = UDim2.new(1, 0, 0.2, 0) credits.Font = Enum.Font.SourceSansItalic credits.Text = "Made by adminbroyt" credits.TextColor3 = Color3.fromRGB(158, 158, 158) credits.TextScaled = true credits.ZIndex = 999999999 -- Раздел "WalkSpeed" local walkspeed_frame = Instance.new("TextButton", cheats_menu) walkspeed_frame.Name = "walkspeed" walkspeed_frame.BackgroundColor3 = Color3.fromRGB(65, 65, 65) walkspeed_frame.Position = UDim2.new(0, 0, 0.05, 0) walkspeed_frame.Size = UDim2.new(1, 0, 0.2, 0) walkspeed_frame.Font = Enum.Font.GothamBold walkspeed_frame.Text = "WalkSpeed [R] OFF" walkspeed_frame.TextColor3 = Color3.fromRGB(255, 0, 0) walkspeed_frame.TextScaled = true walkspeed_frame.ZIndex = 999999999 -- Обработка WalkSpeed через клавишу R game:GetService("UserInputService").InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.R then walkspeed = not walkspeed if walkspeed then walkspeed_frame.Text = "WalkSpeed [R] ON" walkspeed_frame.TextColor3 = Color3.fromRGB(0, 255, 0) else walkspeed_frame.Text = "WalkSpeed [R] OFF" walkspeed_frame.TextColor3 = Color3.fromRGB(255, 0, 0) end end end) -- Раздел "Kill-Aura" local killaura_frame = Instance.new("TextButton", cheats_menu) killaura_frame.Name = "killaura" killaura_frame.BackgroundColor3 = Color3.fromRGB(65, 65, 65) killaura_frame.Position = UDim2.new(0, 0, 0.3, 0) killaura_frame.Size = UDim2.new(1, 0, 0.2, 0) killaura_frame.Font = Enum.Font.GothamBold killaura_frame.Text = "Kill-Aura [F] OFF" killaura_frame.TextColor3 = Color3.fromRGB(255, 0, 0) killaura_frame.TextScaled = true killaura_frame.ZIndex = 999999999 -- Обработка Kill-Aura через клавишу F game:GetService("UserInputService").InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.F then killaura = not killaura if killaura then killaura_frame.Text = "Kill-Aura [F] ON" killaura_frame.TextColor3 = Color3.fromRGB(0, 255, 0) else killaura_frame.Text = "Kill-Aura [F] OFF" killaura_frame.TextColor3 = Color3.fromRGB(255, 0, 0) end end end) -- Раздел "GodMode" local godmode_frame = Instance.new("TextButton", cheats_menu) godmode_frame.Name = "godmode" godmode_frame.BackgroundColor3 = Color3.fromRGB(65, 65, 65) godmode_frame.Position = UDim2.new(0, 0, 0.55, 0) godmode_frame.Size = UDim2.new(1, 0, 0.2, 0) godmode_frame.Font = Enum.Font.GothamBold godmode_frame.Text = "GodMode [G] OFF" godmode_frame.TextColor3 = Color3.fromRGB(255, 0, 0) godmode_frame.TextScaled = true godmode_frame.ZIndex = 999999999 -- Обработка GodMode через клавишу G game:GetService("UserInputService").InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.G then godmode = not godmode if godmode then godmode_frame.Text = "GodMode [G] ON" godmode_frame.TextColor3 = Color3.fromRGB(0, 255, 0) else godmode_frame.Text = "GodMode [G] OFF" godmode_frame.TextColor3 = Color3.fromRGB(255, 0, 0) end end end) -- Основной цикл spawn(function() while true do -- WalkSpeed if walkspeed then if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character.Humanoid then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100 end else if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character.Humanoid then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 end end -- Kill-Aura if killaura then getWID() if game.Workspace.Enemies then for _, enemy in pairs(game.Workspace.Enemies:GetChildren()) do if enemy:FindFirstChild("Humanoid") and enemy.Humanoid.Health > 0 then local distance = (game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position - enemy:WaitForChild("HumanoidRootPart").Position).Magnitude if distance <= 100 then game.ReplicatedStorage.Modules.Network.RemoteEvent:FireServer("WeaponDamage", weaponID, enemy.Humanoid) end end end end end -- GodMode if godmode then if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then local humanoid = game.Players.LocalPlayer.Character.Humanoid -- Добавляем обработчик изменений здоровья humanoid.Changed:Connect(function(prop) if prop == "Health" and humanoid.Health < humanoid.MaxHealth then humanoid.Health = humanoid.MaxHealth -- Восстанавливаем здоровье до максимума end end) end end wait(0.01) end end) else game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.cheats.credits.text.Text = "Error: GUI already injected" end