-- ============================================================ -- AIcutor GUI — Mobile + Autosave + Load + Prompts + Console + NoWarn -- + Explorer + GUI Example + SetGravity + red theme -- ============================================================ local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local StarterGui = game:GetService("StarterGui") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local oldGui = playerGui:FindFirstChild("AIcutorGUI") if oldGui then oldGui:Destroy() end -- ============================================================ -- SCREENGUI -- ============================================================ local screenGui = Instance.new("ScreenGui") screenGui.Name = "AIcutorGUI" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.IgnoreGuiInset = true screenGui.Parent = playerGui local originalCorners = {} local DATA_FILE = "AIcutor_data.lua" local function resetButtonImages() for _, obj in ipairs(screenGui:GetDescendants()) do if obj:IsA("TextButton") then pcall(function() obj.Image = "" end) pcall(function() obj.ImageTransparency = 1 end) pcall(function() obj.BackgroundTransparency = 0 end) end end end local function applyCorners(enabled) for _, obj in ipairs(screenGui:GetDescendants()) do if obj:IsA("UICorner") then if originalCorners[obj] == nil then originalCorners[obj] = obj.CornerRadius end obj.CornerRadius = enabled and originalCorners[obj] or UDim.new(0, 0) end end end -- ============================================================ -- MAIN FRAME -- ============================================================ local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 700, 0, 500) mainFrame.AnchorPoint = Vector2.new(0.5, 0.5) mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.ClipsDescendants = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 8) mainCorner.Parent = mainFrame local mainStroke = Instance.new("UIStroke") mainStroke.Thickness = 1 mainStroke.Color = Color3.fromRGB(60, 60, 60) mainStroke.Parent = mainFrame local uiScale = Instance.new("UIScale") uiScale.Parent = mainFrame local function updateScale() local cam = workspace.CurrentCamera if not cam then return end local vp = cam.ViewportSize local sx = (vp.X - 30) / 700 local sy = (vp.Y - 30) / 500 uiScale.Scale = math.clamp(math.min(sx, sy), 0.45, 1.2) end updateScale() local function bindCamera(cam) if cam then cam:GetPropertyChangedSignal("ViewportSize"):Connect(updateScale) updateScale() end end bindCamera(workspace.CurrentCamera) workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function() bindCamera(workspace.CurrentCamera) end) local bgImage = Instance.new("ImageLabel") bgImage.Size = UDim2.new(1, 0, 1, 0) bgImage.BackgroundTransparency = 1 bgImage.Image = "" bgImage.ImageTransparency = 1 bgImage.ScaleType = Enum.ScaleType.Crop bgImage.ZIndex = 0 bgImage.Parent = mainFrame local bgImageCorner = Instance.new("UICorner") bgImageCorner.CornerRadius = UDim.new(0, 8) bgImageCorner.Parent = bgImage -- ============================================================ -- TITLE + DRAG -- ============================================================ local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 38) titleBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45) titleBar.BorderSizePixel = 0 titleBar.ZIndex = 2 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = titleBar local titleFix = Instance.new("Frame") titleFix.Size = UDim2.new(1, 0, 0, 10) titleFix.Position = UDim2.new(0, 0, 1, -10) titleFix.BackgroundColor3 = Color3.fromRGB(45, 45, 45) titleFix.BorderSizePixel = 0 titleFix.ZIndex = 2 titleFix.Parent = titleBar local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -100, 1, 0) titleLabel.Position = UDim2.new(0, 40, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "AIcutor" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 18 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.ZIndex = 3 titleLabel.Parent = titleBar local dragging, dragInput, dragStart, startPos = false, nil, nil, nil titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) titleBar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) -- ============================================================ -- SIDEBAR -- ============================================================ local sidebar = Instance.new("Frame") sidebar.Size = UDim2.new(0, 120, 1, -38) sidebar.Position = UDim2.new(0, 0, 0, 38) sidebar.BackgroundColor3 = Color3.fromRGB(35, 35, 35) sidebar.BorderSizePixel = 0 sidebar.ZIndex = 1 sidebar.Parent = mainFrame local sidebarLayout = Instance.new("UIListLayout") sidebarLayout.Padding = UDim.new(0, 5) sidebarLayout.SortOrder = Enum.SortOrder.LayoutOrder sidebarLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center sidebarLayout.Parent = sidebar local sidebarPadding = Instance.new("UIPadding") sidebarPadding.PaddingTop = UDim.new(0, 10) sidebarPadding.Parent = sidebar local function createSidebarButton(text, order, height) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 100, 0, height or 38) btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = height and height > 40 and 11 or 14 btn.Font = Enum.Font.GothamSemibold btn.LayoutOrder = order btn.BorderSizePixel = 0 btn.TextWrapped = height and height > 40 or false btn.ZIndex = 2 btn.Parent = sidebar local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn return btn end local showPage local executorBtn = createSidebarButton("Executor", 1, 38) local settingsBtn = createSidebarButton("Settings", 2, 38) local exampleScriptsBtn = createSidebarButton("Example\nScripts", 3, 46) local robloxConsoleBtn = createSidebarButton("Roblox\nConsole", 4, 46) local aiPromptsBtn = createSidebarButton("AI Prompts\n(for scripts)", 5, 50) local explorersBtn = createSidebarButton("Explorers", 6, 38) executorBtn.MouseButton1Click:Connect(function() showPage("executor") end) settingsBtn.MouseButton1Click:Connect(function() showPage("settings") end) exampleScriptsBtn.MouseButton1Click:Connect(function() showPage("examples") end) aiPromptsBtn.MouseButton1Click:Connect(function() showPage("prompts") end) explorersBtn.MouseButton1Click:Connect(function() showPage("explorers") end) robloxConsoleBtn.MouseButton1Click:Connect(function() local opened = false pcall(function() StarterGui:SetCore("DevConsoleVisible", true) opened = true end) if not opened then pcall(function() local vim = game:GetService("VirtualInputManager") vim:SendKeyEvent(true, Enum.KeyCode.F9, false, game) task.wait(0.05) vim:SendKeyEvent(false, Enum.KeyCode.F9, false, game) opened = true end) end if not opened then warn("[AIcutor] Не удалось открыть консоль. Нажмите F9 вручную.") end local active = executorPage.Visible and "executor" or (settingsPage.Visible and "settings" or (exampleScriptsPage.Visible and "examples" or (aiPromptsPage.Visible and "prompts" or "explorers"))) showPage(active) end) -- ============================================================ -- CONTENT AREA -- ============================================================ local contentArea = Instance.new("Frame") contentArea.Size = UDim2.new(1, -120, 1, -38) contentArea.Position = UDim2.new(0, 120, 0, 38) contentArea.BackgroundColor3 = Color3.fromRGB(30, 30, 30) contentArea.BorderSizePixel = 0 contentArea.ZIndex = 1 contentArea.Parent = mainFrame -- ============================================================ -- EXECUTOR PAGE -- ============================================================ local executorPage = Instance.new("Frame") executorPage.Size = UDim2.new(1, 0, 1, 0) executorPage.BackgroundTransparency = 1 executorPage.ZIndex = 2 executorPage.Parent = contentArea local tabBar = Instance.new("ScrollingFrame") tabBar.Size = UDim2.new(1, -10, 0, 38) tabBar.Position = UDim2.new(0, 5, 0, 5) tabBar.BackgroundTransparency = 1 tabBar.BorderSizePixel = 0 tabBar.ScrollBarThickness = 3 tabBar.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100) tabBar.CanvasSize = UDim2.new(0, 0, 0, 0) tabBar.AutomaticCanvasSize = Enum.AutomaticSize.X tabBar.ScrollingDirection = Enum.ScrollingDirection.X tabBar.ZIndex = 2 tabBar.Parent = executorPage local tabBarLayout = Instance.new("UIListLayout") tabBarLayout.FillDirection = Enum.FillDirection.Horizontal tabBarLayout.Padding = UDim.new(0, 4) tabBarLayout.SortOrder = Enum.SortOrder.LayoutOrder tabBarLayout.Parent = tabBar local pagesContainer = Instance.new("Frame") pagesContainer.Size = UDim2.new(1, -10, 1, -53) pagesContainer.Position = UDim2.new(0, 5, 0, 48) pagesContainer.BackgroundTransparency = 1 pagesContainer.ZIndex = 2 pagesContainer.Parent = executorPage local tabs = {} local activeTabIndex = 1 local tabCounter = 1 local setupExecute, setupClear, setupPaste, setupCopyAll, setupSaveData, setupLoadData local loadAllData, saveAllData -- ============================================================ -- TAB CONTEXT -- ============================================================ local function openTabContextMenu(tabData) if not tabData then return end local tabBtn = tabData.button local page = tabData.page local backdrop = Instance.new("TextButton") backdrop.Size = UDim2.new(1, 0, 1, 0) backdrop.BackgroundTransparency = 1 backdrop.Text = "" backdrop.AutoButtonColor = false backdrop.ZIndex = 49 backdrop.Parent = screenGui local ctx = Instance.new("Frame") ctx.Size = UDim2.new(0, 160, 0, 76) ctx.BackgroundColor3 = Color3.fromRGB(40, 40, 40) ctx.BorderSizePixel = 0 ctx.ZIndex = 50 ctx.Parent = screenGui local cc = Instance.new("UICorner") cc.CornerRadius = UDim.new(0, 6) cc.Parent = ctx local mouse = UserInputService:GetMouseLocation() ctx.Position = UDim2.new(0, mouse.X, 0, mouse.Y) local function closeMenu() if backdrop and backdrop.Parent then backdrop:Destroy() end if ctx and ctx.Parent then ctx:Destroy() end end backdrop.MouseButton1Click:Connect(closeMenu) local rnm = Instance.new("TextButton") rnm.Size = UDim2.new(1, 0, 0, 34) rnm.BackgroundColor3 = Color3.fromRGB(60, 60, 60) rnm.Text = "Переименовать" rnm.TextColor3 = Color3.fromRGB(255, 255, 255) rnm.TextSize = 13 rnm.Font = Enum.Font.GothamSemibold rnm.BorderSizePixel = 0 rnm.ZIndex = 51 rnm.Parent = ctx local del = Instance.new("TextButton") del.Size = UDim2.new(1, 0, 0, 34) del.Position = UDim2.new(0, 0, 0, 38) del.BackgroundColor3 = Color3.fromRGB(120, 30, 30) del.Text = "Удалить" del.TextColor3 = Color3.fromRGB(255, 255, 255) del.TextSize = 13 del.Font = Enum.Font.GothamSemibold del.BorderSizePixel = 0 del.ZIndex = 51 del.Parent = ctx if #tabs <= 1 then del.BackgroundColor3 = Color3.fromRGB(60, 60, 60) del.TextColor3 = Color3.fromRGB(120, 120, 120) del.AutoButtonColor = false end rnm.MouseButton1Click:Connect(function() closeMenu() local rd = Instance.new("Frame") rd.Size = UDim2.new(0, 260, 0, 110) rd.Position = UDim2.new(0.5, -130, 0.5, -55) rd.BackgroundColor3 = Color3.fromRGB(40, 40, 40) rd.BorderSizePixel = 0 rd.ZIndex = 50 rd.Parent = screenGui local rc = Instance.new("UICorner") rc.CornerRadius = UDim.new(0, 8) rc.Parent = rd local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1, -20, 0, 30) lbl.Position = UDim2.new(0, 10, 0, 10) lbl.BackgroundTransparency = 1 lbl.Text = "Новое имя вкладки:" lbl.TextColor3 = Color3.fromRGB(255, 255, 255) lbl.TextSize = 14 lbl.Font = Enum.Font.GothamSemibold lbl.ZIndex = 51 lbl.Parent = rd local inp = Instance.new("TextBox") inp.Size = UDim2.new(1, -20, 0, 34) inp.Position = UDim2.new(0, 10, 0, 45) inp.BackgroundColor3 = Color3.fromRGB(30, 30, 30) inp.TextColor3 = Color3.fromRGB(255, 255, 255) inp.Text = tabData.name inp.TextSize = 14 inp.Font = Enum.Font.Gotham inp.ZIndex = 51 inp.Parent = rd local ok = Instance.new("TextButton") ok.Size = UDim2.new(0, 100, 0, 30) ok.Position = UDim2.new(0.5, -50, 1, -38) ok.BackgroundColor3 = Color3.fromRGB(0, 150, 0) ok.Text = "OK" ok.TextColor3 = Color3.fromRGB(255, 255, 255) ok.TextSize = 13 ok.Font = Enum.Font.GothamSemibold ok.BorderSizePixel = 0 ok.ZIndex = 51 ok.Parent = rd local okc = Instance.new("UICorner") okc.CornerRadius = UDim.new(0, 6) okc.Parent = ok local function applyRename() if inp.Text ~= "" then tabData.name = inp.Text tabBtn.Text = inp.Text end rd:Destroy() end ok.MouseButton1Click:Connect(applyRename) inp.FocusLost:Connect(function(enter) if enter then applyRename() end end) end) if #tabs > 1 then del.MouseButton1Click:Connect(function() closeMenu() local idx = table.find(tabs, tabData) if not idx then return end table.remove(tabs, idx) tabBtn:Destroy() page:Destroy() if activeTabIndex == idx and #tabs > 0 then local na = tabs[1] for _, t in ipairs(tabs) do t.page.Visible = (t == na) if t == na then t.button.BackgroundColor3 = Color3.fromRGB(70, 70, 70) t.button.TextColor3 = Color3.fromRGB(255, 255, 255) else t.button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) t.button.TextColor3 = Color3.fromRGB(200, 200, 200) end end activeTabIndex = 1 end end) end end -- ============================================================ -- CREATE TAB -- ============================================================ local function createTab(tabName, isFirst, customName) if not isFirst then tabCounter = tabCounter + 1 tabName = customName or ("script " .. tabCounter) end local tabBtn = Instance.new("TextButton") tabBtn.Size = UDim2.new(0, 100, 0, 32) tabBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) tabBtn.Text = tabName tabBtn.TextColor3 = Color3.fromRGB(200, 200, 200) tabBtn.TextSize = 13 tabBtn.Font = Enum.Font.GothamSemibold tabBtn.BorderSizePixel = 0 tabBtn.LayoutOrder = #tabs + 1 tabBtn.ZIndex = 3 tabBtn.Parent = tabBar local tc = Instance.new("UICorner") tc.CornerRadius = UDim.new(0, 6) tc.Parent = tabBtn local page = Instance.new("Frame") page.Size = UDim2.new(1, 0, 1, 0) page.BackgroundTransparency = 1 page.Visible = false page.ZIndex = 2 page.Parent = pagesContainer local codeBox = Instance.new("TextBox") codeBox.Size = UDim2.new(1, 0, 1, -85) codeBox.BackgroundColor3 = Color3.fromRGB(25, 25, 25) codeBox.TextColor3 = Color3.fromRGB(200, 200, 200) codeBox.PlaceholderText = "-- Введите код здесь..." codeBox.PlaceholderColor3 = Color3.fromRGB(100, 100, 100) codeBox.TextSize = 14 codeBox.Font = Enum.Font.Code codeBox.TextXAlignment = Enum.TextXAlignment.Left codeBox.TextYAlignment = Enum.TextYAlignment.Top codeBox.MultiLine = true codeBox.ClearTextOnFocus = false codeBox.Text = "" codeBox.ZIndex = 3 codeBox.Parent = page local cbc = Instance.new("UICorner") cbc.CornerRadius = UDim.new(0, 6) cbc.Parent = codeBox local btnPanel = Instance.new("Frame") btnPanel.Size = UDim2.new(1, 0, 0, 40) btnPanel.Position = UDim2.new(0, 0, 1, -70) btnPanel.BackgroundTransparency = 1 btnPanel.ZIndex = 3 btnPanel.Parent = page local btnLayout = Instance.new("UIListLayout") btnLayout.FillDirection = Enum.FillDirection.Horizontal btnLayout.Padding = UDim.new(0, 5) btnLayout.SortOrder = Enum.SortOrder.LayoutOrder btnLayout.Parent = btnPanel local function makeBtn(text, color, order) local b = Instance.new("TextButton") b.Size = UDim2.new(0, 76, 0, 36) b.BackgroundColor3 = color b.Text = text b.TextColor3 = Color3.fromRGB(255, 255, 255) b.TextSize = 11 b.Font = Enum.Font.GothamSemibold b.LayoutOrder = order b.BorderSizePixel = 0 b.ZIndex = 4 b.Parent = btnPanel local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = b return b end local executeBtn = makeBtn("Execute", Color3.fromRGB(0, 150, 0), 1) local clearBtn = makeBtn("Clear", Color3.fromRGB(150, 0, 0), 2) local pasteBtn = makeBtn("Paste", Color3.fromRGB(0, 100, 150), 3) local copyAllBtn = makeBtn("Copy", Color3.fromRGB(100, 0, 150), 4) local saveDataBtn = makeBtn("Save", Color3.fromRGB(150, 100, 0), 5) local loadBtn = makeBtn("Load", Color3.fromRGB(0, 100, 180), 6) local tabData = { name = tabName, button = tabBtn, page = page, codeBox = codeBox, executeBtn = executeBtn, clearBtn = clearBtn, pasteBtn = pasteBtn, copyAllBtn = copyAllBtn, saveDataBtn = saveDataBtn, loadBtn = loadBtn, } table.insert(tabs, tabData) local function switchToTab() for _, t in ipairs(tabs) do t.page.Visible = (t == tabData) if t == tabData then t.button.BackgroundColor3 = Color3.fromRGB(70, 70, 70) t.button.TextColor3 = Color3.fromRGB(255, 255, 255) else t.button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) t.button.TextColor3 = Color3.fromRGB(200, 200, 200) end end activeTabIndex = table.find(tabs, tabData) end tabBtn.MouseButton1Click:Connect(switchToTab) tabBtn.MouseButton2Click:Connect(function() openTabContextMenu(tabData) end) if setupExecute and setupClear and setupPaste and setupCopyAll and setupSaveData and setupLoadData then setupExecute(executeBtn, tabData) setupClear(clearBtn, tabData) setupPaste(pasteBtn, tabData) setupCopyAll(copyAllBtn, tabData) setupSaveData(saveDataBtn, tabData) setupLoadData(loadBtn, tabData) end if #tabs == 1 then switchToTab() end return tabData end createTab("script 1", true) local addTabBtn = Instance.new("TextButton") addTabBtn.Size = UDim2.new(0, 34, 0, 32) addTabBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 0) addTabBtn.Text = "+" addTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) addTabBtn.TextSize = 20 addTabBtn.Font = Enum.Font.GothamBold addTabBtn.BorderSizePixel = 0 addTabBtn.LayoutOrder = 100 addTabBtn.ZIndex = 3 addTabBtn.Parent = tabBar local addTabCorner = Instance.new("UICorner") addTabCorner.CornerRadius = UDim.new(0, 6) addTabCorner.Parent = addTabBtn addTabBtn.MouseButton1Click:Connect(function() createTab("", false) end) local editTabBtn = Instance.new("TextButton") editTabBtn.Size = UDim2.new(0, 34, 0, 32) editTabBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) editTabBtn.Text = "⋮" editTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) editTabBtn.TextSize = 18 editTabBtn.Font = Enum.Font.GothamBold editTabBtn.BorderSizePixel = 0 editTabBtn.LayoutOrder = 101 editTabBtn.ZIndex = 3 editTabBtn.Parent = tabBar local editTabCorner = Instance.new("UICorner") editTabCorner.CornerRadius = UDim.new(0, 6) editTabCorner.Parent = editTabBtn editTabBtn.MouseButton1Click:Connect(function() local a = tabs[activeTabIndex] if a then openTabContextMenu(a) end end) -- ============================================================ -- SETTINGS PAGE -- ============================================================ local settingsPage = Instance.new("Frame") settingsPage.Size = UDim2.new(1, 0, 1, 0) settingsPage.BackgroundTransparency = 1 settingsPage.Visible = false settingsPage.ZIndex = 2 settingsPage.Parent = contentArea local settingsTitle = Instance.new("TextLabel") settingsTitle.Size = UDim2.new(1, -20, 0, 40) settingsTitle.Position = UDim2.new(0, 10, 0, 10) settingsTitle.BackgroundTransparency = 1 settingsTitle.Text = "Settings" settingsTitle.TextColor3 = Color3.fromRGB(255, 255, 255) settingsTitle.TextSize = 22 settingsTitle.Font = Enum.Font.GothamBold settingsTitle.TextXAlignment = Enum.TextXAlignment.Left settingsTitle.ZIndex = 3 settingsTitle.Parent = settingsPage local themeBtn = Instance.new("TextButton") themeBtn.Size = UDim2.new(0, 200, 0, 42) themeBtn.Position = UDim2.new(0, 10, 0, 60) themeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) themeBtn.Text = "Theme" themeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) themeBtn.TextSize = 16 themeBtn.Font = Enum.Font.GothamSemibold themeBtn.BorderSizePixel = 0 themeBtn.ZIndex = 3 themeBtn.Parent = settingsPage local themeBtnCorner = Instance.new("UICorner") themeBtnCorner.CornerRadius = UDim.new(0, 6) themeBtnCorner.Parent = themeBtn local noWarnBtn = Instance.new("TextButton") noWarnBtn.Size = UDim2.new(0, 200, 0, 42) noWarnBtn.Position = UDim2.new(0, 10, 0, 110) noWarnBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) noWarnBtn.Text = "No Warning Screens: OFF" noWarnBtn.TextColor3 = Color3.fromRGB(255, 255, 255) noWarnBtn.TextSize = 14 noWarnBtn.Font = Enum.Font.GothamSemibold noWarnBtn.BorderSizePixel = 0 noWarnBtn.ZIndex = 3 noWarnBtn.Parent = settingsPage local noWarnCorner = Instance.new("UICorner") noWarnCorner.CornerRadius = UDim.new(0, 6) noWarnCorner.Parent = noWarnBtn local themeListFrame = Instance.new("ScrollingFrame") themeListFrame.Size = UDim2.new(0, 250, 0, 400) themeListFrame.Position = UDim2.new(0, 220, 0, 60) themeListFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) themeListFrame.BorderSizePixel = 0 themeListFrame.Visible = false themeListFrame.ZIndex = 5 themeListFrame.ScrollBarThickness = 6 themeListFrame.CanvasSize = UDim2.new(0, 0, 0, 0) themeListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y themeListFrame.Parent = settingsPage local themeListCorner = Instance.new("UICorner") themeListCorner.CornerRadius = UDim.new(0, 8) themeListCorner.Parent = themeListFrame local themeListLayout = Instance.new("UIListLayout") themeListLayout.Padding = UDim.new(0, 4) themeListLayout.SortOrder = Enum.SortOrder.LayoutOrder themeListLayout.Parent = themeListFrame local themeListPadding = Instance.new("UIPadding") themeListPadding.PaddingTop = UDim.new(0, 8) themeListPadding.PaddingLeft = UDim.new(0, 8) themeListPadding.PaddingRight = UDim.new(0, 8) themeListPadding.Parent = themeListFrame local function createThemeButton(name, order) local b = Instance.new("TextButton") b.Size = UDim2.new(1, -16, 0, 34) b.BackgroundColor3 = Color3.fromRGB(55, 55, 55) b.Text = name b.TextColor3 = Color3.fromRGB(255, 255, 255) b.TextSize = 14 b.Font = Enum.Font.GothamSemibold b.LayoutOrder = order b.BorderSizePixel = 0 b.ZIndex = 6 b.Parent = themeListFrame local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = b return b end local themeNames = { "kaizo", "black", "orange", "poop", "white", "ton 618", "deltarune", "hacker", "c00lkidd", "hello john doe", "red" } local themeButtons = {} for i, name in ipairs(themeNames) do themeButtons[name] = createThemeButton(name, i) end local themeListOpen = false themeBtn.MouseButton1Click:Connect(function() themeListOpen = not themeListOpen themeListFrame.Visible = themeListOpen end) -- ============================================================ -- NO WARNING SCREENS -- ============================================================ local noWarnActive = false local noWarnConns = {} local function hideWarnings() local CoreGui = game:GetService("CoreGui") local function scan(parent) for _, v in ipairs(parent:GetChildren()) do pcall(function() if v:IsA("ScreenGui") then local n = v.Name:lower() if n:find("prompt") or n:find("warning") or n == "robloxpromptgui" or n:find("confirm") then v.Enabled = false end elseif v:IsA("GuiObject") then local n = v.Name:lower() if n:find("prompt") or n:find("warning") or n:find("confirm") then v.Visible = false end end end) pcall(function() scan(v) end) end end pcall(function() scan(CoreGui) end) pcall(function() scan(playerGui) end) local c1 = CoreGui.ChildAdded:Connect(function() task.wait(0.1) pcall(function() scan(CoreGui) end) end) local c2 = playerGui.ChildAdded:Connect(function() task.wait(0.1) pcall(function() scan(playerGui) end) end) table.insert(noWarnConns, c1) table.insert(noWarnConns, c2) end local function restoreWarnings() for _, c in ipairs(noWarnConns) do pcall(function() c:Disconnect() end) end noWarnConns = {} local CoreGui = game:GetService("CoreGui") local function scan(parent) for _, v in ipairs(parent:GetDescendants()) do pcall(function() if v:IsA("ScreenGui") then local n = v.Name:lower() if n:find("prompt") or n:find("warning") or n == "robloxpromptgui" or n:find("confirm") then v.Enabled = true end elseif v:IsA("GuiObject") then local n = v.Name:lower() if n:find("prompt") or n:find("warning") or n:find("confirm") then v.Visible = true end end end) end end pcall(function() scan(CoreGui) end) pcall(function() scan(playerGui) end) end noWarnBtn.MouseButton1Click:Connect(function() noWarnActive = not noWarnActive if noWarnActive then hideWarnings() noWarnBtn.Text = "No Warning Screens: ON" noWarnBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0) else restoreWarnings() noWarnBtn.Text = "No Warning Screens: OFF" noWarnBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) end end) -- ============================================================ -- EXPLORERS PAGE -- ============================================================ local explorerPage = Instance.new("Frame") explorerPage.Size = UDim2.new(1, 0, 1, 0) explorerPage.BackgroundTransparency = 1 explorerPage.Visible = false explorerPage.ZIndex = 2 explorerPage.Parent = contentArea local explorerTitle = Instance.new("TextLabel") explorerTitle.Size = UDim2.new(1, -20, 0, 40) explorerTitle.Position = UDim2.new(0, 10, 0, 10) explorerTitle.BackgroundTransparency = 1 explorerTitle.Text = "Explorer (read-only)" explorerTitle.TextColor3 = Color3.fromRGB(255, 255, 255) explorerTitle.TextSize = 22 explorerTitle.Font = Enum.Font.GothamBold explorerTitle.TextXAlignment = Enum.TextXAlignment.Left explorerTitle.ZIndex = 3 explorerTitle.Parent = explorerPage local explorerHint = Instance.new("TextLabel") explorerHint.Size = UDim2.new(1, -20, 0, 18) explorerHint.Position = UDim2.new(0, 10, 0, 45) explorerHint.BackgroundTransparency = 1 explorerHint.Text = "Нажмите на строку, чтобы раскрыть/свернуть дочерние элементы." explorerHint.TextColor3 = Color3.fromRGB(150, 150, 150) explorerHint.TextSize = 11 explorerHint.Font = Enum.Font.GothamSemibold explorerHint.TextXAlignment = Enum.TextXAlignment.Left explorerHint.ZIndex = 3 explorerHint.Parent = explorerPage local explorerScroll = Instance.new("ScrollingFrame") explorerScroll.Size = UDim2.new(1, -20, 1, -75) explorerScroll.Position = UDim2.new(0, 10, 0, 68) explorerScroll.BackgroundColor3 = Color3.fromRGB(20, 20, 20) explorerScroll.BorderSizePixel = 0 explorerScroll.ScrollBarThickness = 6 explorerScroll.CanvasSize = UDim2.new(0, 0, 0, 0) explorerScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y explorerScroll.ZIndex = 3 explorerScroll.Parent = explorerPage local explorerCorner = Instance.new("UICorner") explorerCorner.CornerRadius = UDim.new(0, 6) explorerCorner.Parent = explorerScroll local explorerLayout = Instance.new("UIListLayout") explorerLayout.Padding = UDim.new(0, 0) explorerLayout.SortOrder = Enum.SortOrder.LayoutOrder explorerLayout.Parent = explorerScroll local expandedState = {} local rebuildExplorer rebuildExplorer = function() for _, c in ipairs(explorerScroll:GetChildren()) do if c:IsA("GuiObject") then c:Destroy() end end local orderCounter = 0 local function addNode(inst, depth) local childCount = #inst:GetChildren() local hasChildren = childCount > 0 local isExpanded = expandedState[inst] == true local row = Instance.new("TextButton") row.Size = UDim2.new(1, 0, 0, 20) row.BackgroundColor3 = Color3.fromRGB(30, 30, 30) row.BackgroundTransparency = 1 row.BorderSizePixel = 0 row.AutoButtonColor = false row.Text = "" row.Font = Enum.Font.Code row.TextSize = 12 row.TextXAlignment = Enum.TextXAlignment.Left row.TextColor3 = Color3.fromRGB(220, 220, 220) row.LayoutOrder = orderCounter row.ZIndex = 4 row.Parent = explorerScroll orderCounter = orderCounter + 1 local prefix if hasChildren then prefix = isExpanded and "v " or "> " else prefix = " " end local indent = string.rep(" ", depth) local cls = inst.ClassName row.Text = indent .. prefix .. inst.Name .. " [" .. cls .. "]" if inst == game then row.TextColor3 = Color3.fromRGB(255, 220, 100) elseif inst:IsA("Workspace") or inst:IsA("Players") or inst:IsA("Lighting") or inst:IsA("ReplicatedStorage") or inst:IsA("ServerStorage") or inst:IsA("ServerScriptService") or inst:IsA("StarterGui") then row.TextColor3 = Color3.fromRGB(120, 200, 255) elseif inst:IsA("Player") then row.TextColor3 = Color3.fromRGB(255, 220, 100) elseif inst:IsA("LocalScript") then row.TextColor3 = Color3.fromRGB(100, 255, 100) elseif inst:IsA("Script") then row.TextColor3 = Color3.fromRGB(150, 200, 255) elseif inst:IsA("ModuleScript") then row.TextColor3 = Color3.fromRGB(255, 150, 255) elseif inst:IsA("GuiObject") then row.TextColor3 = Color3.fromRGB(255, 255, 120) elseif inst:IsA("BasePart") then row.TextColor3 = Color3.fromRGB(200, 200, 200) end if hasChildren then row.MouseButton1Click:Connect(function() expandedState[inst] = not expandedState[inst] rebuildExplorer() end) end if hasChildren and isExpanded then local children = inst:GetChildren() table.sort(children, function(a, b) return a.Name < b.Name end) for _, child in ipairs(children) do addNode(child, depth + 1) end end end addNode(game, 0) end expandedState[game] = true rebuildExplorer() -- ============================================================ -- EXAMPLE SCRIPTS PAGE -- ============================================================ local exampleScriptsPage = Instance.new("Frame") exampleScriptsPage.Size = UDim2.new(1, 0, 1, 0) exampleScriptsPage.BackgroundTransparency = 1 exampleScriptsPage.Visible = false exampleScriptsPage.ZIndex = 2 exampleScriptsPage.Parent = contentArea local exTitle = Instance.new("TextLabel") exTitle.Size = UDim2.new(1, -20, 0, 40) exTitle.Position = UDim2.new(0, 10, 0, 10) exTitle.BackgroundTransparency = 1 exTitle.Text = "Example Scripts" exTitle.TextColor3 = Color3.fromRGB(255, 255, 255) exTitle.TextSize = 22 exTitle.Font = Enum.Font.GothamBold exTitle.TextXAlignment = Enum.TextXAlignment.Left exTitle.ZIndex = 3 exTitle.Parent = exampleScriptsPage local exLeftPanel = Instance.new("Frame") exLeftPanel.Size = UDim2.new(0, 140, 1, -65) exLeftPanel.Position = UDim2.new(0, 10, 0, 55) exLeftPanel.BackgroundTransparency = 1 exLeftPanel.ZIndex = 3 exLeftPanel.Parent = exampleScriptsPage local exLeftLayout = Instance.new("UIListLayout") exLeftLayout.Padding = UDim.new(0, 6) exLeftLayout.SortOrder = Enum.SortOrder.LayoutOrder exLeftLayout.Parent = exLeftPanel local exRightFrame = Instance.new("ScrollingFrame") exRightFrame.Size = UDim2.new(1, -170, 1, -65) exRightFrame.Position = UDim2.new(0, 160, 0, 55) exRightFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) exRightFrame.BorderSizePixel = 0 exRightFrame.ScrollBarThickness = 6 exRightFrame.CanvasSize = UDim2.new(0, 0, 0, 0) exRightFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y exRightFrame.ZIndex = 3 exRightFrame.Parent = exampleScriptsPage local exRightCorner = Instance.new("UICorner") exRightCorner.CornerRadius = UDim.new(0, 6) exRightCorner.Parent = exRightFrame local exCodeLabel = Instance.new("TextLabel") exCodeLabel.Size = UDim2.new(1, -16, 0, 0) exCodeLabel.Position = UDim2.new(0, 8, 0, 8) exCodeLabel.BackgroundTransparency = 1 exCodeLabel.Text = "-- Выберите скрипт слева.\n-- Кнопка включает/выключает функцию." exCodeLabel.TextColor3 = Color3.fromRGB(200, 200, 200) exCodeLabel.TextSize = 12 exCodeLabel.Font = Enum.Font.Code exCodeLabel.TextXAlignment = Enum.TextXAlignment.Left exCodeLabel.TextYAlignment = Enum.TextYAlignment.Top exCodeLabel.TextWrapped = true exCodeLabel.AutomaticSize = Enum.AutomaticSize.Y exCodeLabel.ZIndex = 4 exCodeLabel.Parent = exRightFrame local exampleCodes = { Fly = [[-- Fly Script local uis = game:GetService("UserInputService") local rs = game:GetService("RunService") local player = game.Players.LocalPlayer local cam = workspace.CurrentCamera local bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = Vector3.zero local bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.P = 1000 rs.RenderStepped:Connect(function() local char = player.Character if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return end bv.Parent = hrp; bg.Parent = hrp local move = Vector3.zero if uis:IsKeyDown(Enum.KeyCode.W) then move = move + cam.CFrame.LookVector end if uis:IsKeyDown(Enum.KeyCode.S) then move = move - cam.CFrame.LookVector end if uis:IsKeyDown(Enum.KeyCode.A) then move = move - cam.CFrame.RightVector end if uis:IsKeyDown(Enum.KeyCode.D) then move = move + cam.CFrame.RightVector end if uis:IsKeyDown(Enum.KeyCode.Space) then move = move + Vector3.new(0,1,0) end if uis:IsKeyDown(Enum.KeyCode.LeftShift) then move = move - Vector3.new(0,1,0) end if move.Magnitude > 0 then move = move.Unit * 50 end bv.Velocity = move bg.CFrame = cam.CFrame end)]], Noclip = [[-- Noclip Script local rs = game:GetService("RunService") local player = game.Players.LocalPlayer rs.Stepped:Connect(function() local char = player.Character if not char then return end for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end)]], InfiniteJump = [[-- Infinite Jump Script local uis = game:GetService("UserInputService") local player = game.Players.LocalPlayer uis.JumpRequest:Connect(function() local char = player.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end)]], SetSpeed = [[-- SetSpeed (36) local player = game.Players.LocalPlayer local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = 36 end]], SetJumpPower = [[-- SetJumpPower (100) local player = game.Players.LocalPlayer local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.UseJumpPower = true hum.JumpPower = 100 end]], SetGravity = [[-- SetGravity (0) workspace.Gravity = 0]], GuiExample = [[-- GUI Example -- Просто демонстрация: создаёт плавающее окно local sg = Instance.new("ScreenGui") sg.Name = "DemoGUI" sg.ResetOnSpawn = false sg.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local f = Instance.new("Frame") f.Size = UDim2.new(0, 300, 0, 200) f.Position = UDim2.new(0.7, 0, 0.2, 0) f.BackgroundColor3 = Color3.fromRGB(50, 150, 50) f.BorderSizePixel = 0 f.Parent = sg local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 10) c.Parent = f local t = Instance.new("TextLabel") t.Size = UDim2.new(1, 0, 0, 40) t.BackgroundColor3 = Color3.fromRGB(30, 120, 30) t.Text = "Example GUI" t.TextColor3 = Color3.fromRGB(255, 255, 255) t.TextSize = 18 t.Font = Enum.Font.GothamBold t.BorderSizePixel = 0 t.Parent = f local b = Instance.new("TextButton") b.Size = UDim2.new(0, 120, 0, 40) b.Position = UDim2.new(0.5, -60, 0.6, 0) b.BackgroundColor3 = Color3.fromRGB(0, 200, 0) b.Text = "Click Me!" b.TextColor3 = Color3.fromRGB(255, 255, 255) b.TextSize = 14 b.Font = Enum.Font.GothamBold b.BorderSizePixel = 0 b.Parent = f local bc = Instance.new("UICorner") bc.CornerRadius = UDim.new(0, 6) bc.Parent = b ]], } local flyState = { conn = nil, vel = nil, gyro = nil } local noclipConn = nil local jumpConn = nil local savedWalkSpeed = nil local savedJumpPower = nil local savedUseJumpPower = nil local savedGravity = nil local exampleDemoGui = nil local function toggleFly() if flyState.conn then flyState.conn:Disconnect() if flyState.vel then flyState.vel:Destroy() end if flyState.gyro then flyState.gyro:Destroy() end flyState.conn, flyState.vel, flyState.gyro = nil, nil, nil return false end local char = player.Character if not char then return false end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return false end local bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = Vector3.zero bv.Parent = hrp local bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.P = 1000 bg.Parent = hrp local conn = RunService.RenderStepped:Connect(function() if not char.Parent or not hrp.Parent then conn:Disconnect(); bv:Destroy(); bg:Destroy() if flyState.conn == conn then flyState.conn, flyState.vel, flyState.gyro = nil, nil, nil end return end local cam = workspace.CurrentCamera local move = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then move = move + cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then move = move - cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then move = move - cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then move = move + cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then move = move + Vector3.new(0, 1, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then move = move - Vector3.new(0, 1, 0) end if move.Magnitude > 0 then move = move.Unit * 50 end bv.Velocity = move bg.CFrame = cam.CFrame end) flyState.conn, flyState.vel, flyState.gyro = conn, bv, bg return true end local function toggleNoclip() if noclipConn then noclipConn:Disconnect() noclipConn = nil local char = player.Character if char then for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end end return false end noclipConn = RunService.Stepped:Connect(function() local char = player.Character if not char then return end for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") and part.CanCollide then part.CanCollide = false end end end) return true end local function toggleInfiniteJump() if jumpConn then jumpConn:Disconnect() jumpConn = nil return false end jumpConn = UserInputService.JumpRequest:Connect(function() local char = player.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) return true end local function toggleSetSpeed() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum then return false end if savedWalkSpeed ~= nil then hum.WalkSpeed = savedWalkSpeed savedWalkSpeed = nil return false else savedWalkSpeed = hum.WalkSpeed hum.WalkSpeed = 36 return true end end local function toggleSetJumpPower() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum then return false end if savedJumpPower ~= nil then hum.UseJumpPower = savedUseJumpPower if savedUseJumpPower then hum.JumpPower = savedJumpPower else hum.JumpHeight = savedJumpPower end savedJumpPower = nil savedUseJumpPower = nil return false else savedUseJumpPower = hum.UseJumpPower if hum.UseJumpPower then savedJumpPower = hum.JumpPower else savedJumpPower = hum.JumpHeight end hum.UseJumpPower = true hum.JumpPower = 100 return true end end local function toggleSetGravity() if savedGravity ~= nil then workspace.Gravity = savedGravity savedGravity = nil return false else savedGravity = workspace.Gravity workspace.Gravity = 0 return true end end local function toggleGuiExample() if exampleDemoGui then exampleDemoGui:Destroy() exampleDemoGui = nil return false end local sg = Instance.new("ScreenGui") sg.Name = "AIcutorDemoGUI" sg.ResetOnSpawn = false sg.IgnoreGuiInset = true sg.Parent = playerGui exampleDemoGui = sg local f = Instance.new("Frame") f.Size = UDim2.new(0, 300, 0, 200) f.Position = UDim2.new(0.7, 0, 0.2, 0) f.BackgroundColor3 = Color3.fromRGB(50, 150, 50) f.BorderSizePixel = 0 f.Parent = sg local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 10) c.Parent = f local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(20, 100, 20) stroke.Thickness = 2 stroke.Parent = f local t = Instance.new("TextLabel") t.Size = UDim2.new(1, 0, 0, 40) t.BackgroundColor3 = Color3.fromRGB(30, 120, 30) t.Text = "Example GUI" t.TextColor3 = Color3.fromRGB(255, 255, 255) t.TextSize = 18 t.Font = Enum.Font.GothamBold t.BorderSizePixel = 0 t.Parent = f local tc = Instance.new("UICorner") tc.CornerRadius = UDim.new(0, 10) tc.Parent = t local hint = Instance.new("TextLabel") hint.Size = UDim2.new(1, -20, 0, 60) hint.Position = UDim2.new(0, 10, 0, 50) hint.BackgroundTransparency = 1 hint.Text = "Это демонстрационный GUI.\nВыключите кнопку Gui Example,\nчтобы удалить его." hint.TextColor3 = Color3.fromRGB(255, 255, 255) hint.TextSize = 12 hint.Font = Enum.Font.Gotham hint.TextWrapped = true hint.Parent = f local b = Instance.new("TextButton") b.Size = UDim2.new(0, 160, 0, 40) b.Position = UDim2.new(0.5, -80, 1, -55) b.BackgroundColor3 = Color3.fromRGB(0, 200, 0) b.Text = "Click Me! (0)" b.TextColor3 = Color3.fromRGB(255, 255, 255) b.TextSize = 14 b.Font = Enum.Font.GothamBold b.BorderSizePixel = 0 b.Parent = f local bc = Instance.new("UICorner") bc.CornerRadius = UDim.new(0, 6) bc.Parent = b local count = 0 b.MouseButton1Click:Connect(function() count = count + 1 b.Text = "Click Me! (" .. count .. ")" end) return true end local exampleToggles = { Fly = { func = toggleFly, state = false }, Noclip = { func = toggleNoclip, state = false }, InfiniteJump = { func = toggleInfiniteJump, state = false }, SetSpeed = { func = toggleSetSpeed, state = false }, SetJumpPower = { func = toggleSetJumpPower, state = false }, SetGravity = { func = toggleSetGravity, state = false }, GuiExample = { func = toggleGuiExample, state = false }, } local exampleButtonMap = {} local function refreshToggleButton(name) local btn = exampleButtonMap[name] if not btn then return end if exampleToggles[name].state then btn.BackgroundColor3 = Color3.fromRGB(0, 180, 0) else btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) end end local function createExampleButton(name, order) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 44) btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) btn.Text = name btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 12 btn.Font = Enum.Font.GothamSemibold btn.LayoutOrder = order btn.BorderSizePixel = 0 btn.ZIndex = 4 btn.TextWrapped = true btn.Parent = exLeftPanel local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn exampleButtonMap[name] = btn btn.MouseButton1Click:Connect(function() local entry = exampleToggles[name] entry.state = entry.func() refreshToggleButton(name) exCodeLabel.Text = exampleCodes[name] or "-- Код отсутствует" end) return btn end createExampleButton("Fly", 1) createExampleButton("Noclip", 2) createExampleButton("InfiniteJump", 3) createExampleButton("SetSpeed", 4) createExampleButton("SetJumpPower", 5) createExampleButton("SetGravity", 6) createExampleButton("GuiExample", 7) -- ============================================================ -- AI PROMPTS PAGE -- ============================================================ local aiPromptsPage = Instance.new("Frame") aiPromptsPage.Size = UDim2.new(1, 0, 1, 0) aiPromptsPage.BackgroundTransparency = 1 aiPromptsPage.Visible = false aiPromptsPage.ZIndex = 2 aiPromptsPage.Parent = contentArea local apTitle = Instance.new("TextLabel") apTitle.Size = UDim2.new(1, -20, 0, 40) apTitle.Position = UDim2.new(0, 10, 0, 10) apTitle.BackgroundTransparency = 1 apTitle.Text = "AI Prompts (for scripts)" apTitle.TextColor3 = Color3.fromRGB(255, 255, 255) apTitle.TextSize = 22 apTitle.Font = Enum.Font.GothamBold apTitle.TextXAlignment = Enum.TextXAlignment.Left apTitle.ZIndex = 3 apTitle.Parent = aiPromptsPage local apScroll = Instance.new("ScrollingFrame") apScroll.Size = UDim2.new(1, -20, 1, -65) apScroll.Position = UDim2.new(0, 10, 0, 55) apScroll.BackgroundColor3 = Color3.fromRGB(25, 25, 25) apScroll.BorderSizePixel = 0 apScroll.ScrollBarThickness = 6 apScroll.CanvasSize = UDim2.new(0, 0, 0, 0) apScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y apScroll.ZIndex = 3 apScroll.Parent = aiPromptsPage local apScrollCorner = Instance.new("UICorner") apScrollCorner.CornerRadius = UDim.new(0, 6) apScrollCorner.Parent = apScroll local apLayout = Instance.new("UIListLayout") apLayout.Padding = UDim.new(0, 10) apLayout.SortOrder = Enum.SortOrder.LayoutOrder apLayout.Parent = apScroll local apPadding = Instance.new("UIPadding") apPadding.PaddingTop = UDim.new(0, 10) apPadding.PaddingLeft = UDim.new(0, 10) apPadding.PaddingRight = UDim.new(0, 10) apPadding.PaddingBottom = UDim.new(0, 10) apPadding.Parent = apScroll local aiPrompts = { "Сделай GUI для roblox studio которого можно передвигать по заголовку в нём написано AIversal там будут кнопки также справа их будет указатель как кнопка переключения при активации кнопки тот кружок вправо движется и становится зелёным (плавно) при деактивации сдвигается влево становится красным (плавно) также справа GUI есть кнопки (при скролле они не движутся) сверху слева будет кнопка d полностью default там будут все кнопки слева снизу будет кнопка s полностью settings там будут настройки например dark theme при активации делает чёрную тему (она активирована автоматически) при деактивации делает GUI белым (белую тему) в default будет кнопка (дальше напишите кнопки)", "добавь кнопку (дальше кнопку которую вы хотите добавить)", "добавь кнопку в Settings называется (дальше кнопку которую вы хотите добавить в настройки)", } local function createPromptItem(text, order) local item = Instance.new("Frame") item.Size = UDim2.new(1, 0, 0, 120) item.BackgroundColor3 = Color3.fromRGB(35, 35, 35) item.BorderSizePixel = 0 item.LayoutOrder = order item.AutomaticSize = Enum.AutomaticSize.Y item.ZIndex = 4 item.Parent = apScroll local ic = Instance.new("UICorner") ic.CornerRadius = UDim.new(0, 6) ic.Parent = item local pad = Instance.new("UIPadding") pad.PaddingTop = UDim.new(0, 8) pad.PaddingLeft = UDim.new(0, 8) pad.PaddingRight = UDim.new(0, 8) pad.PaddingBottom = UDim.new(0, 8) pad.Parent = item local header = Instance.new("TextLabel") header.Size = UDim2.new(1, -90, 0, 20) header.BackgroundTransparency = 1 header.Text = "Prompt " .. order header.TextColor3 = Color3.fromRGB(120, 200, 255) header.TextSize = 13 header.Font = Enum.Font.GothamBold header.TextXAlignment = Enum.TextXAlignment.Left header.ZIndex = 5 header.Parent = item local copyBtn = Instance.new("TextButton") copyBtn.Size = UDim2.new(0, 80, 0, 22) copyBtn.Position = UDim2.new(1, -80, 0, 0) copyBtn.BackgroundColor3 = Color3.fromRGB(100, 0, 150) copyBtn.Text = "Copy" copyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) copyBtn.TextSize = 12 copyBtn.Font = Enum.Font.GothamSemibold copyBtn.BorderSizePixel = 0 copyBtn.ZIndex = 5 copyBtn.Parent = item local cb = Instance.new("UICorner") cb.CornerRadius = UDim.new(0, 5) cb.Parent = copyBtn local body = Instance.new("TextLabel") body.Size = UDim2.new(1, 0, 0, 0) body.Position = UDim2.new(0, 0, 0, 26) body.BackgroundTransparency = 1 body.Text = text body.TextColor3 = Color3.fromRGB(220, 220, 220) body.TextSize = 12 body.Font = Enum.Font.Gotham body.TextXAlignment = Enum.TextXAlignment.Left body.TextYAlignment = Enum.TextYAlignment.Top body.TextWrapped = true body.AutomaticSize = Enum.AutomaticSize.Y body.ZIndex = 5 body.Parent = item copyBtn.MouseButton1Click:Connect(function() if setclipboard then setclipboard(text) copyBtn.Text = "Copied!" task.delay(1.2, function() if copyBtn and copyBtn.Parent then copyBtn.Text = "Copy" end end) else warn("[AIcutor] setclipboard недоступен.") end end) return item end for i, promptText in ipairs(aiPrompts) do createPromptItem(promptText, i) end -- ============================================================ -- SHOW PAGE -- ============================================================ showPage = function(name) executorPage.Visible = (name == "executor") settingsPage.Visible = (name == "settings") exampleScriptsPage.Visible = (name == "examples") aiPromptsPage.Visible = (name == "prompts") explorerPage.Visible = (name == "explorers") local function hl(btn, active) btn.BackgroundColor3 = active and Color3.fromRGB(70, 70, 70) or Color3.fromRGB(50, 50, 50) end hl(executorBtn, name == "executor") hl(settingsBtn, name == "settings") hl(exampleScriptsBtn, name == "examples") hl(aiPromptsBtn, name == "prompts") hl(explorersBtn, name == "explorers") hl(robloxConsoleBtn, false) end showPage("executor") -- ============================================================ -- THEMES -- ============================================================ local currentTheme = "black" local function applyTheme(themeName) currentTheme = themeName resetButtonImages() applyCorners(true) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) mainFrame.BackgroundTransparency = 0 titleBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45) titleBar.BackgroundTransparency = 0 titleFix.BackgroundColor3 = Color3.fromRGB(45, 45, 45) titleFix.BackgroundTransparency = 0 sidebar.BackgroundColor3 = Color3.fromRGB(35, 35, 35) sidebar.BackgroundTransparency = 0 contentArea.BackgroundColor3 = Color3.fromRGB(30, 30, 30) contentArea.BackgroundTransparency = 0 titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) bgImage.Image = "" bgImage.ImageTransparency = 1 executorBtn.Font = Enum.Font.GothamSemibold settingsBtn.Font = Enum.Font.GothamSemibold exampleScriptsBtn.Font = Enum.Font.GothamSemibold robloxConsoleBtn.Font = Enum.Font.GothamSemibold aiPromptsBtn.Font = Enum.Font.GothamSemibold explorersBtn.Font = Enum.Font.GothamSemibold addTabBtn.Font = Enum.Font.GothamBold editTabBtn.Font = Enum.Font.GothamBold themeBtn.Font = Enum.Font.GothamSemibold noWarnBtn.Font = Enum.Font.GothamSemibold for _, t in ipairs(tabs) do t.button.Font = Enum.Font.GothamSemibold end for _, b in pairs(themeButtons) do b.Font = Enum.Font.GothamSemibold end executorBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) settingsBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) exampleScriptsBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) robloxConsoleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) aiPromptsBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) explorersBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) addTabBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 0) editTabBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) themeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) noWarnBtn.BackgroundColor3 = noWarnActive and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(50, 50, 50) for _, t in ipairs(tabs) do t.button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) end for _, b in pairs(themeButtons) do b.BackgroundColor3 = Color3.fromRGB(55, 55, 55) end if themeName == "black" then mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30) titleFix.BackgroundColor3 = Color3.fromRGB(30, 30, 30) sidebar.BackgroundColor3 = Color3.fromRGB(25, 25, 25) contentArea.BackgroundColor3 = Color3.fromRGB(20, 20, 20) elseif themeName == "white" then mainFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240) titleBar.BackgroundColor3 = Color3.fromRGB(220, 220, 220) titleFix.BackgroundColor3 = Color3.fromRGB(220, 220, 220) sidebar.BackgroundColor3 = Color3.fromRGB(230, 230, 230) contentArea.BackgroundColor3 = Color3.fromRGB(240, 240, 240) titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0) elseif themeName == "kaizo" then mainFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240) titleBar.BackgroundColor3 = Color3.fromRGB(0, 100, 200) titleFix.BackgroundColor3 = Color3.fromRGB(0, 100, 200) sidebar.BackgroundColor3 = Color3.fromRGB(0, 100, 200) contentArea.BackgroundColor3 = Color3.fromRGB(240, 240, 240) titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) local rainbow = { Color3.fromRGB(255, 0, 0), Color3.fromRGB(255, 165, 0), Color3.fromRGB(255, 255, 0), Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 0, 255), Color3.fromRGB(75, 0, 130), Color3.fromRGB(238, 130, 238) } executorBtn.BackgroundColor3 = rainbow[1] settingsBtn.BackgroundColor3 = rainbow[2] exampleScriptsBtn.BackgroundColor3 = rainbow[3] robloxConsoleBtn.BackgroundColor3 = rainbow[4] aiPromptsBtn.BackgroundColor3 = rainbow[5] explorersBtn.BackgroundColor3 = rainbow[6] addTabBtn.BackgroundColor3 = rainbow[7] themeBtn.BackgroundColor3 = rainbow[1] elseif themeName == "orange" then mainFrame.BackgroundColor3 = Color3.fromRGB(200, 100, 0) titleBar.BackgroundColor3 = Color3.fromRGB(255, 140, 0) titleFix.BackgroundColor3 = Color3.fromRGB(255, 140, 0) sidebar.BackgroundColor3 = Color3.fromRGB(180, 90, 0) contentArea.BackgroundColor3 = Color3.fromRGB(200, 100, 0) elseif themeName == "poop" then mainFrame.BackgroundColor3 = Color3.fromRGB(101, 67, 33) titleBar.BackgroundColor3 = Color3.fromRGB(139, 69, 19) titleFix.BackgroundColor3 = Color3.fromRGB(139, 69, 19) sidebar.BackgroundColor3 = Color3.fromRGB(120, 80, 40) contentArea.BackgroundColor3 = Color3.fromRGB(101, 67, 33) elseif themeName == "ton 618" then mainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10) titleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 20) titleFix.BackgroundColor3 = Color3.fromRGB(20, 20, 20) sidebar.BackgroundColor3 = Color3.fromRGB(15, 15, 15) contentArea.BackgroundColor3 = Color3.fromRGB(10, 10, 10) local orange = Color3.fromRGB(255, 140, 0) executorBtn.BackgroundColor3 = orange settingsBtn.BackgroundColor3 = orange exampleScriptsBtn.BackgroundColor3 = orange robloxConsoleBtn.BackgroundColor3 = orange aiPromptsBtn.BackgroundColor3 = orange explorersBtn.BackgroundColor3 = orange addTabBtn.BackgroundColor3 = orange themeBtn.BackgroundColor3 = orange elseif themeName == "deltarune" then mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30) titleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 50) titleFix.BackgroundColor3 = Color3.fromRGB(40, 40, 50) sidebar.BackgroundColor3 = Color3.fromRGB(30, 30, 40) contentArea.BackgroundColor3 = Color3.fromRGB(20, 20, 30) mainFrame.BackgroundTransparency = 1 bgImage.Image = "rbxassetid://117201667120722" bgImage.ImageTransparency = 0.3 bgImage.ScaleType = Enum.ScaleType.Crop local pixel = Enum.Font.Arcade executorBtn.Font = pixel settingsBtn.Font = pixel exampleScriptsBtn.Font = pixel robloxConsoleBtn.Font = pixel aiPromptsBtn.Font = pixel explorersBtn.Font = pixel addTabBtn.Font = pixel editTabBtn.Font = pixel themeBtn.Font = pixel noWarnBtn.Font = pixel for _, t in ipairs(tabs) do t.button.Font = pixel end for _, b in pairs(themeButtons) do b.Font = pixel end elseif themeName == "hacker" then mainFrame.BackgroundTransparency = 1 bgImage.Image = "rbxassetid://5456914992" bgImage.ImageTransparency = 0.2 bgImage.ScaleType = Enum.ScaleType.Crop titleBar.BackgroundColor3 = Color3.fromRGB(0, 0, 0) titleFix.BackgroundColor3 = Color3.fromRGB(0, 0, 0) sidebar.BackgroundColor3 = Color3.fromRGB(0, 0, 0) contentArea.BackgroundColor3 = Color3.fromRGB(0, 0, 0) contentArea.BackgroundTransparency = 0.5 local green = Color3.fromRGB(0, 255, 0) executorBtn.BackgroundColor3 = green settingsBtn.BackgroundColor3 = green exampleScriptsBtn.BackgroundColor3 = green robloxConsoleBtn.BackgroundColor3 = green aiPromptsBtn.BackgroundColor3 = green explorersBtn.BackgroundColor3 = green addTabBtn.BackgroundColor3 = green themeBtn.BackgroundColor3 = green elseif themeName == "c00lkidd" then local img = "rbxassetid://86596908948995" mainFrame.BackgroundTransparency = 1 bgImage.Image = img bgImage.ImageTransparency = 0.15 bgImage.ScaleType = Enum.ScaleType.Crop contentArea.BackgroundTransparency = 1 sidebar.BackgroundTransparency = 1 titleBar.BackgroundTransparency = 1 titleFix.BackgroundTransparency = 1 for _, obj in ipairs(screenGui:GetDescendants()) do if obj:IsA("TextButton") then pcall(function() obj.Image = img obj.ImageTransparency = 0.3 obj.BackgroundTransparency = 1 end) end end elseif themeName == "hello john doe" then applyCorners(false) local gray = Color3.fromRGB(160, 160, 160) local darker = Color3.fromRGB(140, 140, 140) mainFrame.BackgroundColor3 = gray titleBar.BackgroundColor3 = darker titleFix.BackgroundColor3 = darker sidebar.BackgroundColor3 = darker contentArea.BackgroundColor3 = gray titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0) executorBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) settingsBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) exampleScriptsBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) robloxConsoleBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) aiPromptsBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) explorersBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) addTabBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) themeBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) for _, t in ipairs(tabs) do t.button.BackgroundColor3 = Color3.fromRGB(100, 100, 100) end for _, b in pairs(themeButtons) do b.BackgroundColor3 = Color3.fromRGB(100, 100, 100) end elseif themeName == "red" then mainFrame.BackgroundColor3 = Color3.fromRGB(140, 0, 0) titleBar.BackgroundColor3 = Color3.fromRGB(180, 20, 20) titleFix.BackgroundColor3 = Color3.fromRGB(180, 20, 20) sidebar.BackgroundColor3 = Color3.fromRGB(110, 0, 0) contentArea.BackgroundColor3 = Color3.fromRGB(140, 0, 0) titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) executorBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) settingsBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) exampleScriptsBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) robloxConsoleBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) aiPromptsBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) explorersBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) addTabBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) themeBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) noWarnBtn.BackgroundColor3 = noWarnActive and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(200, 40, 40) for _, t in ipairs(tabs) do t.button.BackgroundColor3 = Color3.fromRGB(200, 40, 40) end for _, b in pairs(themeButtons) do b.BackgroundColor3 = Color3.fromRGB(180, 30, 30) end end if showPage then local ap = executorPage.Visible and "executor" or (settingsPage.Visible and "settings" or (exampleScriptsPage.Visible and "examples" or (aiPromptsPage.Visible and "prompts" or "explorers"))) showPage(ap) end for toggleName, _ in pairs(exampleToggles) do refreshToggleButton(toggleName) end end applyTheme("black") for themeName, btn in pairs(themeButtons) do btn.MouseButton1Click:Connect(function() applyTheme(themeName) themeListOpen = false themeListFrame.Visible = false end) end -- ============================================================ -- SOUNDS -- ============================================================ local function playSound(id) local s = Instance.new("Sound") s.SoundId = "rbxassetid://" .. id s.Volume = 1 s.Parent = workspace s:Play() s.Ended:Connect(function() s:Destroy() end) end -- ============================================================ -- SERIALIZE / SAVE / LOAD -- ============================================================ local function safeBracket(code) local level = 0 while string.find(code, "]" .. string.rep("=", level) .. "]", 1, true) do level = level + 1 end return "[" .. string.rep("=", level) .. "[", "]" .. string.rep("=", level) .. "]" end local function serializeAllTabs() local lines = {} table.insert(lines, "-- AIcutor_data") table.insert(lines, "-- Saved: " .. os.date("%Y-%m-%d %H:%M:%S")) table.insert(lines, "-- Tabs: " .. #tabs) table.insert(lines, "") table.insert(lines, "return {") table.insert(lines, " tabs = {") for _, t in ipairs(tabs) do local open, close = safeBracket(t.codeBox.Text) table.insert(lines, " { name = " .. string.format("%q", t.name) .. ", code = " .. open .. t.codeBox.Text .. close .. " }," ) end table.insert(lines, " },") table.insert(lines, "}") return table.concat(lines, "\n") end saveAllData = function() if not writefile then warn("[AIcutor] writefile недоступен.") return false end local ok, err = pcall(function() writefile(DATA_FILE, serializeAllTabs()) end) if ok then print("[AIcutor] Autosave: " .. #tabs .. " tabs → " .. DATA_FILE) return true else warn("[AIcutor] Save error: " .. tostring(err)) return false end end loadAllData = function() if not readfile then warn("[AIcutor] readfile недоступен.") return false end if isfile and not isfile(DATA_FILE) then warn("[AIcutor] Файл " .. DATA_FILE .. " не найден.") return false end local ok1, content = pcall(function() return readfile(DATA_FILE) end) if not ok1 or not content then warn("[AIcutor] Не удалось прочитать файл.") return false end local chunk, err = loadstring(content) if not chunk then warn("[AIcutor] Parse error: " .. tostring(err)) return false end local ok2, data = pcall(chunk) if not ok2 or type(data) ~= "table" or not data.tabs or #data.tabs == 0 then warn("[AIcutor] Неверный формат файла.") return false end for i = #tabs, 1, -1 do local t = tabs[i] if t.button and t.button.Parent then t.button:Destroy() end if t.page and t.page.Parent then t.page:Destroy() end tabs[i] = nil end activeTabIndex = 0 tabCounter = 0 for i, savedTab in ipairs(data.tabs) do local name = savedTab.name or ("script " .. i) local newTab = createTab(name, i == 1, name) newTab.name = name newTab.button.Text = name newTab.codeBox.Text = savedTab.code or "" end tabCounter = #data.tabs if #tabs > 0 then activeTabIndex = 1 local first = tabs[1] for _, t in ipairs(tabs) do t.page.Visible = (t == first) if t == first then t.button.BackgroundColor3 = Color3.fromRGB(70, 70, 70) t.button.TextColor3 = Color3.fromRGB(255, 255, 255) else t.button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) t.button.TextColor3 = Color3.fromRGB(200, 200, 200) end end end print("[AIcutor] Loaded " .. #tabs .. " tabs from " .. DATA_FILE) return true end -- ============================================================ -- BUTTON HANDLERS -- ============================================================ setupExecute = function(executeBtn, tabData) executeBtn.MouseButton1Click:Connect(function() local code = tabData.codeBox.Text if code == "" then warn("[AIcutor] Поле ввода пустое.") return end if currentTheme == "deltarune" then playSound("110335545170740") end local success, err = pcall(function() local scs = game:GetService("StarterPlayer"):FindFirstChild("StarterCharacterScripts") if not scs then error("StarterCharacterScripts не найден") end local scriptName = "AIcutor_" .. tabData.name for _, child in ipairs(scs:GetChildren()) do if child:IsA("LocalScript") and child.Name == scriptName then child:Destroy() end end local newScript = Instance.new("LocalScript") newScript.Name = scriptName newScript.Source = code newScript.Parent = scs end) if success then print("[AIcutor] LocalScript добавлен в StarterCharacterScripts.") else warn("[AIcutor] Execute: " .. tostring(err)) warn("[AIcutor] .Source работает только в executor'ах.") end end) end setupClear = function(clearBtn, tabData) clearBtn.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("106811262178398") end local cf = Instance.new("Frame") cf.Size = UDim2.new(0, 300, 0, 130) cf.Position = UDim2.new(0.5, -150, 0.5, -65) cf.BackgroundColor3 = Color3.fromRGB(40, 40, 40) cf.BorderSizePixel = 0 cf.ZIndex = 100 cf.Parent = screenGui local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 10) c.Parent = cf if currentTheme == "hello john doe" then c.CornerRadius = UDim.new(0, 0) end local l = Instance.new("TextLabel") l.Size = UDim2.new(1, -20, 0, 60) l.Position = UDim2.new(0, 10, 0, 10) l.BackgroundTransparency = 1 l.Text = "Очистить поле ввода? Весь скрипт будет потерян." l.TextColor3 = Color3.fromRGB(255, 255, 255) l.TextSize = 14 l.Font = Enum.Font.GothamSemibold l.TextWrapped = true l.ZIndex = 101 l.Parent = cf local yes = Instance.new("TextButton") yes.Size = UDim2.new(0, 120, 0, 36) yes.Position = UDim2.new(0.25, -60, 1, -46) yes.BackgroundColor3 = Color3.fromRGB(0, 150, 0) yes.Text = "Yes" yes.TextColor3 = Color3.fromRGB(255, 255, 255) yes.TextSize = 14 yes.Font = Enum.Font.GothamSemibold yes.BorderSizePixel = 0 yes.ZIndex = 101 yes.Parent = cf local yc = Instance.new("UICorner") yc.CornerRadius = UDim.new(0, 6) yc.Parent = yes local no = Instance.new("TextButton") no.Size = UDim2.new(0, 120, 0, 36) no.Position = UDim2.new(0.75, -60, 1, -46) no.BackgroundColor3 = Color3.fromRGB(150, 0, 0) no.Text = "No" no.TextColor3 = Color3.fromRGB(255, 255, 255) no.TextSize = 14 no.Font = Enum.Font.GothamSemibold no.BorderSizePixel = 0 no.ZIndex = 101 no.Parent = cf local nc = Instance.new("UICorner") nc.CornerRadius = UDim.new(0, 6) nc.Parent = no yes.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("107404924544437") end tabData.codeBox.Text = "" cf:Destroy() end) no.MouseButton1Click:Connect(function() cf:Destroy() end) end) end setupPaste = function(pasteBtn, tabData) pasteBtn.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("106811262178398") end local txt = getclipboard and getclipboard() or nil if not txt then warn("[AIcutor] Буфер обмена недоступен.") return end tabData.codeBox.Text = tabData.codeBox.Text .. txt end) end setupCopyAll = function(copyAllBtn, tabData) copyAllBtn.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("106811262178398") end if setclipboard then setclipboard(tabData.codeBox.Text) print("[AIcutor] Скопировано.") else warn("[AIcutor] setclipboard недоступен.") end end) end setupSaveData = function(saveDataBtn, tabData) saveDataBtn.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("115855537754171") end saveAllData() end) end setupLoadData = function(loadBtn, tabData) loadBtn.MouseButton1Click:Connect(function() if currentTheme == "deltarune" then playSound("106811262178398") end local cf = Instance.new("Frame") cf.Size = UDim2.new(0, 320, 0, 140) cf.Position = UDim2.new(0.5, -160, 0.5, -70) cf.BackgroundColor3 = Color3.fromRGB(40, 40, 40) cf.BorderSizePixel = 0 cf.ZIndex = 100 cf.Parent = screenGui local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 10) c.Parent = cf if currentTheme == "hello john doe" then c.CornerRadius = UDim.new(0, 0) end local l = Instance.new("TextLabel") l.Size = UDim2.new(1, -20, 0, 70) l.Position = UDim2.new(0, 10, 0, 10) l.BackgroundTransparency = 1 l.Text = "Загрузить " .. DATA_FILE .. "? Все текущие вкладки и их код будут заменены." l.TextColor3 = Color3.fromRGB(255, 255, 255) l.TextSize = 14 l.Font = Enum.Font.GothamSemibold l.TextWrapped = true l.ZIndex = 101 l.Parent = cf local yes = Instance.new("TextButton") yes.Size = UDim2.new(0, 120, 0, 36) yes.Position = UDim2.new(0.25, -60, 1, -46) yes.BackgroundColor3 = Color3.fromRGB(0, 150, 0) yes.Text = "Yes" yes.TextColor3 = Color3.fromRGB(255, 255, 255) yes.TextSize = 14 yes.Font = Enum.Font.GothamSemibold yes.BorderSizePixel = 0 yes.ZIndex = 101 yes.Parent = cf local yc = Instance.new("UICorner") yc.CornerRadius = UDim.new(0, 6) yc.Parent = yes local no = Instance.new("TextButton") no.Size = UDim2.new(0, 120, 0, 36) no.Position = UDim2.new(0.75, -60, 1, -46) no.BackgroundColor3 = Color3.fromRGB(150, 0, 0) no.Text = "No" no.TextColor3 = Color3.fromRGB(255, 255, 255) no.TextSize = 14 no.Font = Enum.Font.GothamSemibold no.BorderSizePixel = 0 no.ZIndex = 101 no.Parent = cf local nc = Instance.new("UICorner") nc.CornerRadius = UDim.new(0, 6) nc.Parent = no yes.MouseButton1Click:Connect(function() cf:Destroy() loadAllData() end) no.MouseButton1Click:Connect(function() cf:Destroy() end) end) end for _, tabData in ipairs(tabs) do setupExecute(tabData.executeBtn, tabData) setupClear(tabData.clearBtn, tabData) setupPaste(tabData.pasteBtn, tabData) setupCopyAll(tabData.copyAllBtn, tabData) setupSaveData(tabData.saveDataBtn, tabData) setupLoadData(tabData.loadBtn, tabData) end -- ============================================================ -- AUTOSAVE -- ============================================================ task.spawn(function() while screenGui and screenGui.Parent do task.wait(30) if writefile then saveAllData() end end end) game:BindToClose(function() if writefile then saveAllData() end end) print("[AIcutor] Загружено. Explorer + Gui Example + SetGravity + red theme добавлены.")