--[[ Universal FE Menu for Delta Executor Включает: Полёт, Ноуклип, Клонирование, Рост ]] -- Настройки local maxClones = 5 -- Максимум клонов local maxScale = 5 -- Максимальный рост local minScale = 0.5 -- Минимальный рост local stepSize = 0.5 -- Шаг роста -- Основные переменные local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local rootPart = character:WaitForChild("HumanoidRootPart") -- Состояния local flyEnabled = false local noclipEnabled = false local flySpeed = 50 local currentScale = 1 local clones = {} -- Создаём GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "UniversalMenu" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") -- Главная кнопка меню local menuButton = Instance.new("TextButton") menuButton.Name = "MenuButton" menuButton.Size = UDim2.new(0, 60, 0, 60) menuButton.Position = UDim2.new(0, 10, 0, 10) menuButton.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2) menuButton.BackgroundTransparency = 0.3 menuButton.Text = "⚙️" menuButton.TextSize = 30 menuButton.TextColor3 = Color3.new(1, 1, 1) menuButton.BorderSizePixel = 0 menuButton.Parent = screenGui -- Главная панель меню local mainPanel = Instance.new("Frame") mainPanel.Name = "MainPanel" mainPanel.Size = UDim2.new(0, 350, 0, 500) mainPanel.Position = UDim2.new(0.5, -175, 0.5, -250) mainPanel.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1) mainPanel.BackgroundTransparency = 0.1 mainPanel.Visible = false mainPanel.Parent = screenGui -- Заголовок local titleLabel = Instance.new("TextLabel") titleLabel.Name = "TitleLabel" titleLabel.Size = UDim2.new(1, 0, 0, 40) titleLabel.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2) titleLabel.Text = "Universal FE Menu" titleLabel.TextSize = 20 titleLabel.TextColor3 = Color3.new(1, 1, 1) titleLabel.Parent = mainPanel -- Кнопка закрытия local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 40, 0, 40) closeButton.Position = UDim2.new(1, -45, 0, 0) closeButton.BackgroundColor3 = Color3.new(1, 0, 0) closeButton.Text = "X" closeButton.TextSize = 20 closeButton.TextColor3 = Color3.new(1, 1, 1) closeButton.BorderSizePixel = 0 closeButton.Parent = mainPanel -- Функция создания кнопки-переключателя local function createToggle(parent, name, yPos, callback) local toggleButton = Instance.new("TextButton") toggleButton.Name = name .. "Toggle" toggleButton.Size = UDim2.new(0, 300, 0, 40) toggleButton.Position = UDim2.new(0, 25, 0, yPos) toggleButton.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) toggleButton.Text = name .. ": Выкл" toggleButton.TextSize = 16 toggleButton.TextColor3 = Color3.new(1, 1, 1) toggleButton.BorderSizePixel = 0 toggleButton.Parent = parent local enabled = false toggleButton.MouseButton1Click:Connect(function() enabled = not enabled toggleButton.Text = name .. ": " .. (enabled and "Вкл" or "Выкл") toggleButton.BackgroundColor3 = enabled and Color3.new(0, 0.5, 0) or Color3.new(0.3, 0.3, 0.3) callback(enabled) end) return toggleButton end -- Функция создания кнопки действия local function createActionButton(parent, name, yPos, callback) local actionButton = Instance.new("TextButton") actionButton.Name = name .. "Button" actionButton.Size = UDim2.new(0, 300, 0, 40) actionButton.Position = UDim2.new(0, 25, 0, yPos) actionButton.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) actionButton.Text = name actionButton.TextSize = 16 actionButton.TextColor3 = Color3.new(1, 1, 1) actionButton.BorderSizePixel = 0 actionButton.Parent = parent actionButton.MouseButton1Click:Connect(callback) return actionButton end -- Функция создания ползунка local function createSlider(parent, name, yPos, min, max, defaultValue, callback) local label = Instance.new("TextLabel") label.Name = name .. "Label" label.Size = UDim2.new(0, 100, 0, 30) label.Position = UDim2.new(0, 25, 0, yPos) label.BackgroundTransparency = 1 label.Text = name label.TextSize = 14 label.TextColor3 = Color3.new(1, 1, 1) label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = parent local sliderButton = Instance.new("TextButton") sliderButton.Name = name .. "Slider" sliderButton.Size = UDim2.new(0, 150, 0, 30) sliderButton.Position = UDim2.new(0, 150, 0, yPos) sliderButton.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) sliderButton.Text = tostring(defaultValue) sliderButton.TextSize = 14 sliderButton.TextColor3 = Color3.new(1, 1, 1) sliderButton.BorderSizePixel = 0 sliderButton.Parent = parent local value = defaultValue sliderButton.MouseButton1Click:Connect(function() value = value + (max - min) / 10 if value > max then value = min end sliderButton.Text = string.format("%.1f", value) callback(value) end) sliderButton.MouseButton2Click:Connect(function() value = value - (max - min) / 10 if value < min then value = max end sliderButton.Text = string.format("%.1f", value) callback(value) end) return sliderButton end -- ФУНКЦИИ МЕНЮ -- Функция полёта local function toggleFly(enabled) flyEnabled = enabled if flyEnabled then -- Включаем полёт local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Name = "FlyVelocity" bodyVelocity.MaxForce = Vector3.new(1, 1, 1) * 1e6 bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.Parent = rootPart local bodyGyro = Instance.new("BodyGyro") bodyGyro.Name = "FlyGyro" bodyGyro.MaxTorque = Vector3.new(1, 1, 1) * 1e6 bodyGyro.DFrame = CFrame.new() bodyGyro.Parent = rootPart -- Управление полётом local userInputService = game:GetService("UserInputService") game:GetService("RunService").RenderStepped:Connect(function() if flyEnabled and rootPart then local moveDirection = Vector3.new() -- Управление на ПК if userInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + (rootPart.CFrame.LookVector * flySpeed) end if userInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - (rootPart.CFrame.LookVector * flySpeed) end if userInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - (rootPart.CFrame.RightVector * flySpeed) end if userInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + (rootPart.CFrame.RightVector * flySpeed) end if userInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, flySpeed, 0) end if userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDirection = moveDirection - Vector3.new(0, flySpeed, 0) end -- Управление на мобильных local touch = userInputService:GetTouches() for _, touchInput in ipairs(touch) do local position = touchInput.Position local screenSize = workspace.CurrentCamera.ViewportSize if position.X > screenSize.X / 2 then -- Правая половина - вверх/вниз if position.Y < screenSize.Y / 2 then moveDirection = moveDirection + Vector3.new(0, flySpeed, 0) else moveDirection = moveDirection - Vector3.new(0, flySpeed, 0) end else -- Левая половина - движение local centerX = screenSize.X / 4 local centerY = screenSize.Y / 2 local deltaX = position.X - centerX local deltaY = position.Y - centerY moveDirection = moveDirection + (rootPart.CFrame.RightVector * (deltaX / 100) * flySpeed) moveDirection = moveDirection + (rootPart.CFrame.LookVector * (deltaY / 100) * flySpeed) end end bodyVelocity.Velocity = moveDirection end end) else -- Выключаем полёт local bodyVelocity = rootPart:FindFirstChild("FlyVelocity") local bodyGyro = rootPart:FindFirstChild("FlyGyro") if bodyVelocity then bodyVelocity:Destroy() end if bodyGyro then bodyGyro:Destroy() end end end -- Функция ноуклипа local function toggleNoclip(enabled) noclipEnabled = enabled game:GetService("RunService").Stepped:Connect(function() if noclipEnabled and character then for _, part in ipairs(character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) end -- Функция клонирования local function cloneCharacter() if #clones >= maxClones then game.StarterGui:SetCore("SendNotification", { Title = "Клонирование", Text = "Достигнут лимит клонов (" .. maxClones .. ")!", Duration = 2 }) return end local clone = character:Clone() clone.Name = "Clone_" .. #clones + 1 clone.Parent = workspace -- Позиционируем клон рядом local cloneRoot = clone:WaitForChild("HumanoidRootPart") cloneRoot.CFrame = rootPart.CFrame * CFrame.new(5, 0, 0) -- Убираем контроллер local cloneHumanoid = clone:WaitForChild("Humanoid") cloneHumanoid:ChangeState(Enum.HumanoidStateType.Physics) -- Добавляем в список table.insert(clones, clone) -- Анимация появления local effect = Instance.new("Part") effect.Size = Vector3.new(5, 5, 5) effect.Transparency = 0.5 effect.CanCollide = false effect.Anchored = true effect.CFrame = cloneRoot.CFrame effect.Material = Enum.Material.Neon effect.Color = Color3.new(0, 1, 1) effect.Parent = workspace task.delay(1, function() effect:Destroy() end) game.StarterGui:SetCore("SendNotification", { Title = "Клонирование", Text = "Клон создан! (" .. #clones .. "/" .. maxClones .. ")", Duration = 2 }) end -- Функция удаления клонов local function deleteClones() for _, clone in ipairs(clones) do if clone then clone:Destroy() end end clones = {} game.StarterGui:SetCore("SendNotification", { Title = "Клонирование", Text = "Все клоны удалены!", Duration = 2 }) end -- Функция изменения роста local function setScale(scale) scale = math.clamp(scale, minScale, maxScale) currentScale = scale if humanoid then for _, part in ipairs(character:GetChildren()) do if part:IsA("BasePart") then local originalSize = part:GetAttribute("OriginalSize") if not originalSize then part:SetAttribute("OriginalSize", part.Size) originalSize = part.Size end part.Size = originalSize * scale end end end end -- Создаём элементы меню createToggle(mainPanel, "Полёт", 60, toggleFly) createToggle(mainPanel, "Ноуклип", 110, toggleNoclip) createActionButton(mainPanel, "Клонировать себя", 160, cloneCharacter) createActionButton(mainPanel, "Удалить клонов", 210, deleteClones) createSlider(mainPanel, "Скорость полёта", 260, 10, 200, flySpeed, function(value) flySpeed = value end) createSlider(mainPanel, "Рост", 310, minScale, maxScale, currentScale, setScale) createActionButton(mainPanel, "Сбросить рост", 360, function() setScale(1) end) -- Обработчики кнопок menuButton.MouseButton1Click:Connect(function() mainPanel.Visible = not mainPanel.Visible end) closeButton.MouseButton1Click:Connect(function() mainPanel.Visible = false end) -- Отслеживаем смену персонажа player.CharacterAdded:Connect(function(newChar) character = newChar humanoid = character:WaitForChild("Humanoid") rootPart = character:WaitForChild("HumanoidRootPart") -- Применяем текущий рост task.wait(0.1) setScale(currentScale) end) -- Уведомление о загрузке game.StarterGui:SetCore("SendNotification", { Title = "Universal FE Menu", Text = "Нажми ⚙️ для открытия меню!", Duration = 3 })