--[=[ d888b db db d888888b .d888b. db db db .d8b. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b 88 88 88 88 odD' 88 88 88 88ooo88 88 ooo 88 88 88 .88' 88 88 88 88~~~88 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP ULTRA GUI EDITOR V6 - COMPATIBLE WITH MOBILE/PC EXECUTORS ]=] local player = game:GetService("Players").LocalPlayer local pgui = player:WaitForChild("PlayerGui") -- Удаляем старую версию, если она была запущена ранее if pgui:FindFirstChild("UltraGuiCreator_V6") then pgui.UltraGuiCreator_V6:Destroy() end -- Контейнеры local sg = Instance.new("ScreenGui", pgui) sg.Name = "UltraGuiCreator_V6" sg.ResetOnSpawn = false sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local spawnFolder = Instance.new("Folder", sg) spawnFolder.Name = "SpawnedElements" ----------------------------------------------------------- -- КНОПКА ОТКРЫТИЯ/ЗАКРЫТИЯ (ДЛЯ МОБИЛОК) ----------------------------------------------------------- local toggleBtn = Instance.new("TextButton", sg) toggleBtn.Size = UDim2.new(0, 100, 0, 40) toggleBtn.Position = UDim2.new(0, 10, 0.5, 0) toggleBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 255) toggleBtn.Text = "EDITOR" toggleBtn.TextColor3 = Color3.new(1, 1, 1) toggleBtn.Draggable = true -- На случай, если кнопка мешает обзору Instance.new("UICorner", toggleBtn) ----------------------------------------------------------- -- ГЛАВНОЕ МЕНЮ ----------------------------------------------------------- local main = Instance.new("Frame", sg) main.BackgroundColor3 = Color3.fromRGB(255, 255, 255) main.Size = UDim2.new(0, 580, 0, 560) main.Position = UDim2.new(0.5, -290, 0.5, -280) main.Visible = false main.Active = true Instance.new("UICorner", main) Instance.new("UIDragDetector", main) -- Теперь меню можно таскать в Delta toggleBtn.MouseButton1Click:Connect(function() main.Visible = not main.Visible toggleBtn.Text = main.Visible and "CLOSE" or "EDITOR" end) -- Вспомогательная функция для полей ввода local function createInput(placeholder, pos, sizeX) local tb = Instance.new("TextBox", main) tb.Size = UDim2.new(0, sizeX or 180, 0, 35) tb.Position = pos tb.PlaceholderText = placeholder tb.Text = "" tb.TextColor3 = Color3.new(0,0,0) tb.BackgroundColor3 = Color3.fromRGB(235, 235, 235) Instance.new("UICorner", tb).CornerRadius = UDim.new(0, 6) return tb end -- Поля (Inputs) local textInput = createInput("Text content", UDim2.new(0, 15, 0, 60)) local sizeInput = createInput("Size (200,100)", UDim2.new(0, 210, 0, 60)) local colorInput = createInput("BG Color", UDim2.new(0, 405, 0, 60)) local textSizeInput = createInput("Text Size", UDim2.new(0, 15, 0, 105), 110) local textColorInput = createInput("Text Color", UDim2.new(0, 135, 0, 105), 110) local transInput = createInput("Trans (0-1)", UDim2.new(0, 255, 0, 105), 100) local fontInput = createInput("Font (Arcade/Cartoon)", UDim2.new(0, 365, 0, 105), 220) -- Функции парсинга local function parseColor(text, default) local colors = { red = Color3.fromRGB(255, 80, 80), blue = Color3.fromRGB(80, 150, 255), green = Color3.fromRGB(80, 255, 80), yellow = Color3.fromRGB(255, 255, 80), white = Color3.new(1, 1, 1), black = Color3.new(0, 0, 0), gray = Color3.fromRGB(100, 100, 100), pink = Color3.fromRGB(255, 150, 200) } return colors[text:lower()] or default end local function parseFont(text) local fonts = { cartoon = Enum.Font.Cartoon, arcade = Enum.Font.Arcade, scifi = Enum.Font.SciFi, bangers = Enum.Font.Bangers, gotham = Enum.Font.GothamBold, roboto = Enum.Font.Roboto } return fonts[text:lower()] or Enum.Font.SourceSans end local function applyAll(obj) -- Прозрачность local t = tonumber(transInput.Text) if t then obj.BackgroundTransparency = math.clamp(t, 0, 1) end -- Цвет фона obj.BackgroundColor3 = parseColor(colorInput.Text, obj.BackgroundColor3) -- Настройки текста if obj:IsA("TextButton") or obj:IsA("TextLabel") then obj.Text = textInput.Text ~= "" and textInput.Text or obj.Text obj.TextSize = tonumber(textSizeInput.Text) or 18 obj.TextColor3 = parseColor(textColorInput.Text, Color3.new(0, 0, 0)) obj.Font = parseFont(fontInput.Text) end end -- Скролл для кнопок local scroll = Instance.new("ScrollingFrame", main) scroll.Size = UDim2.new(0, 560, 0, 380) scroll.Position = UDim2.new(0, 10, 0, 160) scroll.BackgroundColor3 = Color3.fromRGB(245, 245, 245) scroll.BorderSizePixel = 0 scroll.CanvasSize = UDim2.new(0, 0, 1.5, 0) -- Функции создания local function spawnObject(class, defaultSize) local obj = Instance.new(class, spawnFolder) local s = string.split(sizeInput.Text, ",") obj.Size = (#s == 2 and tonumber(s[1]) and tonumber(s[2])) and UDim2.new(0, tonumber(s[1]), 0, tonumber(s[2])) or defaultSize obj.Position = UDim2.new(0.5, 0, 0.5, 0) obj.Active = true applyAll(obj) Instance.new("UIDragDetector", obj) -- Перетаскивание для Delta Instance.new("UICorner", obj) return obj end -- Кнопки в скролле local function createMenuBtn(txt, pos, color, cb) local b = Instance.new("TextButton", scroll) b.Size = UDim2.new(0, 170, 0, 45) b.Position = pos b.Text = txt b.BackgroundColor3 = color or Color3.fromRGB(220, 220, 220) Instance.new("UICorner", b) b.MouseButton1Click:Connect(cb) end createMenuBtn("Create Frame", UDim2.new(0, 10, 0, 10), nil, function() spawnObject("Frame", UDim2.new(0, 150, 0, 100)) end) createMenuBtn("Create Button", UDim2.new(0, 190, 0, 10), Color3.fromRGB(80, 150, 255), function() spawnObject("TextButton", UDim2.new(0, 140, 0, 45)) end) createMenuBtn("Create Label", UDim2.new(0, 370, 0, 10), Color3.new(1, 1, 1), function() spawnObject("TextLabel", UDim2.new(0, 150, 0, 40)) end) createMenuBtn("CLEAR ALL", UDim2.new(0, 10, 0, 70), Color3.fromRGB(255, 80, 80), function() spawnFolder:ClearAllChildren() end) print("V6 DELTA READY: Drag icons, type settings, and create UI!")