-- LocalScript (StarterPlayerScripts) -- MikeMercu Cursor GUI -- Курсор по умолчанию: 123139155321096 -- Скайбокс по умолчанию: 9305457875 -- Открытие: K, RightShift или кнопка в левом нижнем углу local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local DEFAULT_CURSOR_ID = "123139155321096" local DEFAULT_SKYBOX_ID = "9305457875" -- ================= ПРЕСЕТЫ СКАЙБОКСОВ ================= local SKYBOX_PRESETS = { { name = "Bloodmoon", id = "14822948925" }, { name = "Team", id = "128240380804819" }, { name = "My Skybox", id = "94811657734682" }, { name = "Space 2", id = "115173289821042" }, } -- ================= ЛОКАЛИЗАЦИЯ ================= local LOCALES = { ["RU"] = { title = "MIKEMERCU CURSOR", subtitle = "курсор • скайбокс • v2.0 (K / RightShift)", cursorLabel = "DECAL ID КУРСОРА", cursorPlaceholder = "например 123456789", preview = "Превью курсора", previewStd = "Стандартный курсор Roblox", applyCursor = "Применить курсор", skyLabel = "SKYBOX ID (все 6 граней)", skyPlaceholder = "например 123456789", applySky = "Применить скайбокс", skyPresetsLabel = "СКАЙБОКСЫ", reset = "Сбросить всё", ready = "Готово к работе", errEmptyCursor = "Ошибка: пустой ID курсора", errDigitCursor = "Ошибка: введите числовой ID курсора", errDigitSky = "Ошибка: введите числовой ID скайбокса", cursorSet = "Курсор установлен: ", skySet = "Скайбокс установлен: ", resetDone = "Сброшено: стандартный курсор Roblox, скайбокс ", defaultOnStart = "По умолчанию: курсор ", defaultSky = " • скайбокс ", }, ["EN"] = { title = "MIKEMERCU CURSOR", subtitle = "cursor • skybox • v2.0 (K / RightShift)", cursorLabel = "CURSOR DECAL ID", cursorPlaceholder = "e.g. 123456789", preview = "Cursor preview", previewStd = "Roblox default cursor", applyCursor = "Apply cursor", skyLabel = "SKYBOX ID (all 6 faces)", skyPlaceholder = "e.g. 123456789", applySky = "Apply skybox", skyPresetsLabel = "SKYBOXES", reset = "Reset all", ready = "Ready", errEmptyCursor = "Error: empty cursor ID", errDigitCursor = "Error: enter numeric cursor ID", errDigitSky = "Error: enter numeric skybox ID", cursorSet = "Cursor set: ", skySet = "Skybox set: ", resetDone = "Reset: Roblox default cursor, skybox ", defaultOnStart = "Default: cursor ", defaultSky = " • skybox ", }, ["ES"] = { title = "MIKEMERCU CURSOR", subtitle = "cursor • skybox • v2.0 (K / RightShift)", cursorLabel = "ID DECAL DEL CURSOR", cursorPlaceholder = "ej. 123456789", preview = "Vista previa del cursor", previewStd = "Cursor predeterminado de Roblox", applyCursor = "Aplicar cursor", skyLabel = "ID SKYBOX (6 caras)", skyPlaceholder = "ej. 123456789", applySky = "Aplicar skybox", skyPresetsLabel = "SKYBOXES", reset = "Restablecer todo", ready = "Listo", errEmptyCursor = "Error: ID de cursor vacío", errDigitCursor = "Error: introduce un ID numérico", errDigitSky = "Error: introduce un ID numérico de skybox", cursorSet = "Cursor establecido: ", skySet = "Skybox establecido: ", resetDone = "Restablecido: cursor Roblox, skybox ", defaultOnStart = "Predeterminado: cursor ", defaultSky = " • skybox ", }, ["DE"] = { title = "MIKEMERCU CURSOR", subtitle = "Cursor • Skybox • v2.0 (K / RightShift)", cursorLabel = "CURSOR DECAL-ID", cursorPlaceholder = "z.B. 123456789", preview = "Cursor-Vorschau", previewStd = "Standard-Roblox-Cursor", applyCursor = "Cursor anwenden", skyLabel = "SKYBOX-ID (alle 6 Seiten)", skyPlaceholder = "z.B. 123456789", applySky = "Skybox anwenden", skyPresetsLabel = "SKYBOXEN", reset = "Alles zurücksetzen", ready = "Bereit", errEmptyCursor = "Fehler: leere Cursor-ID", errDigitCursor = "Fehler: numerische Cursor-ID eingeben", errDigitSky = "Fehler: numerische Skybox-ID eingeben", cursorSet = "Cursor gesetzt: ", skySet = "Skybox gesetzt: ", resetDone = "Zurückgesetzt: Roblox-Cursor, Skybox ", defaultOnStart = "Standard: Cursor ", defaultSky = " • Skybox ", }, ["FR"] = { title = "MIKEMERCU CURSOR", subtitle = "curseur • skybox • v2.0 (K / RightShift)", cursorLabel = "ID DECAL DU CURSEUR", cursorPlaceholder = "ex. 123456789", preview = "Aperçu du curseur", previewStd = "Curseur Roblox par défaut", applyCursor = "Appliquer le curseur", skyLabel = "ID SKYBOX (6 faces)", skyPlaceholder = "ex. 123456789", applySky = "Appliquer le skybox", skyPresetsLabel = "SKYBOXES", reset = "Tout réinitialiser", ready = "Prêt", errEmptyCursor = "Erreur : ID de curseur vide", errDigitCursor = "Erreur : entrez un ID numérique", errDigitSky = "Erreur : entrez un ID skybox numérique", cursorSet = "Curseur défini : ", skySet = "Skybox défini : ", resetDone = "Réinitialisé : curseur Roblox, skybox ", defaultOnStart = "Par défaut : curseur ", defaultSky = " • skybox ", }, ["PT"] = { title = "MIKEMERCU CURSOR", subtitle = "cursor • skybox • v2.0 (K / RightShift)", cursorLabel = "ID DECAL DO CURSOR", cursorPlaceholder = "ex. 123456789", preview = "Pré-visualização do cursor", previewStd = "Cursor padrão do Roblox", applyCursor = "Aplicar cursor", skyLabel = "ID SKYBOX (6 faces)", skyPlaceholder = "ex. 123456789", applySky = "Aplicar skybox", skyPresetsLabel = "SKYBOXES", reset = "Redefinir tudo", ready = "Pronto", errEmptyCursor = "Erro: ID do cursor vazio", errDigitCursor = "Erro: insira um ID numérico", errDigitSky = "Erro: insira um ID skybox numérico", cursorSet = "Cursor definido: ", skySet = "Skybox definido: ", resetDone = "Redefinido: cursor Roblox, skybox ", defaultOnStart = "Padrão: cursor ", defaultSky = " • skybox ", }, ["IT"] = { title = "MIKEMERCU CURSOR", subtitle = "cursore • skybox • v2.0 (K / RightShift)", cursorLabel = "ID DECAL DEL CURSORE", cursorPlaceholder = "es. 123456789", preview = "Anteprima cursore", previewStd = "Cursore predefinito di Roblox", applyCursor = "Applica cursore", skyLabel = "ID SKYBOX (6 facce)", skyPlaceholder = "es. 123456789", applySky = "Applica skybox", skyPresetsLabel = "SKYBOX", reset = "Reimposta tutto", ready = "Pronto", errEmptyCursor = "Errore: ID cursore vuoto", errDigitCursor = "Errore: inserisci un ID numerico", errDigitSky = "Errore: inserisci un ID skybox numerico", cursorSet = "Cursore impostato: ", skySet = "Skybox impostato: ", resetDone = "Reimpostato: cursore Roblox, skybox ", defaultOnStart = "Predefinito: cursore ", defaultSky = " • skybox ", }, ["PL"] = { title = "MIKEMERCU CURSOR", subtitle = "kursor • skybox • v2.0 (K / RightShift)", cursorLabel = "ID DEKALU KURSORA", cursorPlaceholder = "np. 123456789", preview = "Podgląd kursora", previewStd = "Domyślny kursor Roblox", applyCursor = "Zastosuj kursor", skyLabel = "ID SKYBOXA (6 ścian)", skyPlaceholder = "np. 123456789", applySky = "Zastosuj skybox", skyPresetsLabel = "SKYBOXY", reset = "Resetuj wszystko", ready = "Gotowe", errEmptyCursor = "Błąd: pusty ID kursora", errDigitCursor = "Błąd: wpisz numeryczny ID", errDigitSky = "Błąd: wpisz numeryczny ID skyboxa", cursorSet = "Ustawiono kursor: ", skySet = "Ustawiono skybox: ", resetDone = "Zresetowano: kursor Roblox, skybox ", defaultOnStart = "Domyślnie: kursor ", defaultSky = " • skybox ", }, ["TR"] = { title = "MIKEMERCU CURSOR", subtitle = "imleç • skybox • v2.0 (K / RightShift)", cursorLabel = "İMLEÇ DECAL ID", cursorPlaceholder = "örn. 123456789", preview = "İmleç önizleme", previewStd = "Roblox varsayılan imleç", applyCursor = "İmleci uygula", skyLabel = "SKYBOX ID (6 yüz)", skyPlaceholder = "örn. 123456789", applySky = "Skybox uygula", skyPresetsLabel = "SKYBOXLAR", reset = "Hepsini sıfırla", ready = "Hazır", errEmptyCursor = "Hata: boş imleç ID", errDigitCursor = "Hata: sayısal imleç ID girin", errDigitSky = "Hata: sayısal skybox ID girin", cursorSet = "İmleç ayarlandı: ", skySet = "Skybox ayarlandı: ", resetDone = "Sıfırlandı: Roblox imleci, skybox ", defaultOnStart = "Varsayılan: imleç ", defaultSky = " • skybox ", }, ["UA"] = { title = "MIKEMERCU CURSOR", subtitle = "курсор • скайбокс • v2.0 (K / RightShift)", cursorLabel = "DECAL ID КУРСОРА", cursorPlaceholder = "напр. 123456789", preview = "Попередній перегляд курсора", previewStd = "Стандартний курсор Roblox", applyCursor = "Застосувати курсор", skyLabel = "SKYBOX ID (усі 6 граней)", skyPlaceholder = "напр. 123456789", applySky = "Застосувати скайбокс", skyPresetsLabel = "СКАЙБОКСИ", reset = "Скинути все", ready = "Готово", errEmptyCursor = "Помилка: порожній ID курсора", errDigitCursor = "Помилка: введіть числовий ID курсора", errDigitSky = "Помилка: введіть числовий ID скайбокса", cursorSet = "Курсор встановлено: ", skySet = "Скайбокс встановлено: ", resetDone = "Скинуто: стандартний курсор Roblox, скайбокс ", defaultOnStart = "За замовчуванням: курсор ", defaultSky = " • скайбокс ", }, ["ZH"] = { title = "MIKEMERCU CURSOR", subtitle = "光标 • 天空盒 • v2.0 (K / RightShift)", cursorLabel = "光标贴花 ID", cursorPlaceholder = "例如 123456789", preview = "光标预览", previewStd = "Roblox 默认光标", applyCursor = "应用光标", skyLabel = "天空盒 ID(6 面)", skyPlaceholder = "例如 123456789", applySky = "应用天空盒", skyPresetsLabel = "天空盒", reset = "重置全部", ready = "就绪", errEmptyCursor = "错误:光标 ID 为空", errDigitCursor = "错误:请输入数字光标 ID", errDigitSky = "错误:请输入数字天空盒 ID", cursorSet = "光标已设置:", skySet = "天空盒已设置:", resetDone = "已重置:Roblox 光标,天空盒 ", defaultOnStart = "默认:光标 ", defaultSky = " • 天空盒 ", }, ["JA"] = { title = "MIKEMERCU CURSOR", subtitle = "カーソル • スカイボックス • v2.0 (K / RightShift)", cursorLabel = "カーソル デカール ID", cursorPlaceholder = "例 123456789", preview = "カーソル プレビュー", previewStd = "Roblox 標準カーソル", applyCursor = "カーソルを適用", skyLabel = "スカイボックス ID(6 面)", skyPlaceholder = "例 123456789", applySky = "スカイボックスを適用", skyPresetsLabel = "スカイボックス", reset = "すべてリセット", ready = "準備完了", errEmptyCursor = "エラー:カーソル ID が空です", errDigitCursor = "エラー:数値のカーソル ID を入力", errDigitSky = "エラー:数値のスカイボックス ID を入力", cursorSet = "カーソル設定:", skySet = "スカイボックス設定:", resetDone = "リセット:Roblox カーソル、スカイボックス ", defaultOnStart = "デフォルト:カーソル ", defaultSky = " • スカイボックス ", }, ["KO"] = { title = "MIKEMERCU CURSOR", subtitle = "커서 • 스카이박스 • v2.0 (K / RightShift)", cursorLabel = "커서 데칼 ID", cursorPlaceholder = "예 123456789", preview = "커서 미리보기", previewStd = "Roblox 기본 커서", applyCursor = "커서 적용", skyLabel = "스카이박스 ID (6면)", skyPlaceholder = "예 123456789", applySky = "스카이박스 적용", skyPresetsLabel = "스카이박스", reset = "모두 재설정", ready = "준비됨", errEmptyCursor = "오류: 커서 ID가 비어 있음", errDigitCursor = "오류: 숫자 커서 ID를 입력하세요", errDigitSky = "오류: 숫자 스카이박스 ID를 입력하세요", cursorSet = "커서 설정됨: ", skySet = "스카이박스 설정됨: ", resetDone = "재설정됨: Roblox 커서, 스카이박스 ", defaultOnStart = "기본값: 커서 ", defaultSky = " • 스카이박스 ", }, } local LANG_ORDER = {"RU","EN","ES","DE","FR","PT","IT","PL","TR","UA","ZH","JA","KO"} local LANG_NAMES = { RU = "Русский", EN = "English", ES = "Español", DE = "Deutsch", FR = "Français", PT = "Português", IT = "Italiano", PL = "Polski", TR = "Türkçe", UA = "Українська", ZH = "中文", JA = "日本語", KO = "한국어", } local currentLang = "RU" local L = LOCALES[currentLang] -- ================= ПАЛИТРА ================= local COL_BG = Color3.fromRGB(8, 6, 14) local COL_LAYER = Color3.fromRGB(18, 12, 28) local COL_FIELD = Color3.fromRGB(26, 18, 40) local COL_PURPLE = Color3.fromRGB(160, 0, 255) local COL_PINK = Color3.fromRGB(255, 0, 190) local COL_BLUE = Color3.fromRGB(60, 0, 255) local COL_CYAN = Color3.fromRGB(0, 220, 255) local COL_TEXT = Color3.fromRGB(240, 230, 255) local COL_TEXT_DIM = Color3.fromRGB(140, 115, 180) local COL_GREEN = Color3.fromRGB(100, 255, 160) local COL_RED = Color3.fromRGB(255, 90, 130) local COL_GOLD = Color3.fromRGB(255, 210, 100) -- ================= ОСНОВНОЙ GUI ================= local screenGui = Instance.new("ScreenGui") screenGui.Name = "MikeMercuCursorGui" screenGui.IgnoreGuiInset = true screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.DisplayOrder = 999 screenGui.Parent = playerGui local main = Instance.new("Frame") main.Name = "Main" main.Size = UDim2.new(0, 580, 0, 940) main.Position = UDim2.new(0.5, -290, 0.5, -470) main.BackgroundColor3 = COL_BG main.BackgroundTransparency = 0.02 main.BorderSizePixel = 0 main.Active = true main.Draggable = true main.ClipsDescendants = false main.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 24) mainCorner.Parent = main local stroke = Instance.new("UIStroke") stroke.Thickness = 2.5 stroke.Color = COL_PURPLE stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border stroke.Parent = main local strokeGradient = Instance.new("UIGradient") strokeGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, COL_PURPLE), ColorSequenceKeypoint.new(0.25, COL_PINK), ColorSequenceKeypoint.new(0.5, COL_CYAN), ColorSequenceKeypoint.new(0.75, COL_BLUE), ColorSequenceKeypoint.new(1, COL_PURPLE), } strokeGradient.Parent = stroke task.spawn(function() while strokeGradient.Parent do for rot = 0, 360, 1 do if not strokeGradient.Parent then break end strokeGradient.Rotation = rot task.wait(0.02) end end end) local glass = Instance.new("Frame") glass.Size = UDim2.new(1, -12, 1, -12) glass.Position = UDim2.new(0, 6, 0, 6) glass.BackgroundColor3 = Color3.fromRGB(20, 14, 32) glass.BackgroundTransparency = 0.55 glass.BorderSizePixel = 0 glass.ZIndex = 1 glass.Parent = main local glassCorner = Instance.new("UICorner") glassCorner.CornerRadius = UDim.new(0, 20) glassCorner.Parent = glass local glassStroke = Instance.new("UIStroke") glassStroke.Thickness = 1 glassStroke.Color = Color3.fromRGB(120, 80, 180) glassStroke.Transparency = 0.6 glassStroke.Parent = glass local topBar = Instance.new("Frame") topBar.Size = UDim2.new(1, -48, 0, 3) topBar.Position = UDim2.new(0, 24, 0, 16) topBar.BackgroundColor3 = COL_PURPLE topBar.BorderSizePixel = 0 topBar.ZIndex = 3 topBar.Parent = main local topBarCorner = Instance.new("UICorner") topBarCorner.CornerRadius = UDim.new(1, 0) topBarCorner.Parent = topBar local topBarGradient = Instance.new("UIGradient") topBarGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, COL_BLUE), ColorSequenceKeypoint.new(0.5, COL_PINK), ColorSequenceKeypoint.new(1, COL_CYAN), } topBarGradient.Parent = topBar local logo = Instance.new("TextLabel") logo.Size = UDim2.new(0, 40, 0, 40) logo.Position = UDim2.new(0, 24, 0, 32) logo.BackgroundTransparency = 1 logo.Text = "✦" logo.TextColor3 = COL_GOLD logo.Font = Enum.Font.GothamBlack logo.TextSize = 32 logo.ZIndex = 3 logo.Parent = main local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -260, 0, 42) title.Position = UDim2.new(0, 68, 0, 32) title.BackgroundTransparency = 1 title.Text = L.title title.TextColor3 = COL_TEXT title.Font = Enum.Font.GothamBlack title.TextSize = 24 title.TextXAlignment = Enum.TextXAlignment.Left title.ZIndex = 3 title.Parent = main local titleGradient = Instance.new("UIGradient") titleGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(240, 200, 255)), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 220, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(180, 140, 255)), } titleGradient.Parent = title local subtitle = Instance.new("TextLabel") subtitle.Size = UDim2.new(1, -260, 0, 16) subtitle.Position = UDim2.new(0, 68, 0, 74) subtitle.BackgroundTransparency = 1 subtitle.Text = L.subtitle subtitle.TextColor3 = COL_TEXT_DIM subtitle.Font = Enum.Font.Gotham subtitle.TextSize = 12 subtitle.TextXAlignment = Enum.TextXAlignment.Left subtitle.ZIndex = 3 subtitle.Parent = main local headerDivider = Instance.new("Frame") headerDivider.Size = UDim2.new(1, -48, 0, 1) headerDivider.Position = UDim2.new(0, 24, 0, 100) headerDivider.BackgroundColor3 = COL_PURPLE headerDivider.BackgroundTransparency = 0.5 headerDivider.BorderSizePixel = 0 headerDivider.ZIndex = 3 headerDivider.Parent = main -- Кнопка-открывашка local openBtn = Instance.new("TextButton") openBtn.Name = "OpenButton" openBtn.Size = UDim2.new(0, 60, 0, 60) openBtn.Position = UDim2.new(0, 24, 1, -84) openBtn.BackgroundColor3 = COL_BG openBtn.BackgroundTransparency = 0.05 openBtn.BorderSizePixel = 0 openBtn.Text = "✦" openBtn.TextColor3 = COL_GOLD openBtn.Font = Enum.Font.GothamBlack openBtn.TextSize = 28 openBtn.AutoButtonColor = false openBtn.Visible = false openBtn.ZIndex = 5 openBtn.Parent = screenGui local openCorner = Instance.new("UICorner") openCorner.CornerRadius = UDim.new(0, 16) openCorner.Parent = openBtn local openStroke = Instance.new("UIStroke") openStroke.Thickness = 2.5 openStroke.Color = COL_PURPLE openStroke.Parent = openBtn local function openGui() screenGui.Enabled = true main.Visible = true openBtn.Visible = false end local function closeGui() screenGui.Enabled = false openBtn.Visible = true end openBtn.MouseButton1Click:Connect(openGui) -- Крестик local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 36, 0, 36) closeBtn.Position = UDim2.new(1, -52, 0, 22) closeBtn.BackgroundColor3 = Color3.fromRGB(45, 15, 30) closeBtn.BackgroundTransparency = 0.15 closeBtn.BorderSizePixel = 0 closeBtn.Text = "✕" closeBtn.TextColor3 = COL_RED closeBtn.Font = Enum.Font.GothamBold closeBtn.TextSize = 20 closeBtn.AutoButtonColor = false closeBtn.ZIndex = 100 closeBtn.Parent = main local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 10) closeCorner.Parent = closeBtn local closeStroke = Instance.new("UIStroke") closeStroke.Thickness = 1.5 closeStroke.Color = COL_RED closeStroke.Transparency = 0.4 closeStroke.ZIndex = 100 closeStroke.Parent = closeBtn closeBtn.MouseButton1Click:Connect(closeGui) -- Кнопка языка local langBtn = Instance.new("TextButton") langBtn.Size = UDim2.new(0, 120, 0, 32) langBtn.Position = UDim2.new(1, -268, 0, 20) langBtn.BackgroundColor3 = Color3.fromRGB(30, 18, 48) langBtn.BackgroundTransparency = 0.1 langBtn.BorderSizePixel = 0 langBtn.Text = currentLang .. " ▼" langBtn.TextColor3 = COL_CYAN langBtn.Font = Enum.Font.GothamBold langBtn.TextSize = 14 langBtn.AutoButtonColor = false langBtn.ZIndex = 100 langBtn.Parent = main local langCorner = Instance.new("UICorner") langCorner.CornerRadius = UDim.new(0, 8) langCorner.Parent = langBtn local langStroke = Instance.new("UIStroke") langStroke.Thickness = 1.5 langStroke.Color = COL_CYAN langStroke.Transparency = 0.4 langStroke.ZIndex = 100 langStroke.Parent = langBtn -- Dropdown local dropdown = Instance.new("Frame") dropdown.Size = UDim2.new(0, 220, 0, 0) dropdown.Position = UDim2.new(1, -368, 0, 58) dropdown.BackgroundColor3 = COL_BG dropdown.BackgroundTransparency = 0.02 dropdown.BorderSizePixel = 0 dropdown.ClipsDescendants = true dropdown.Visible = false dropdown.ZIndex = 200 dropdown.Parent = main local ddCorner = Instance.new("UICorner") ddCorner.CornerRadius = UDim.new(0, 14) ddCorner.Parent = dropdown local ddStroke = Instance.new("UIStroke") ddStroke.Thickness = 2 ddStroke.Color = COL_CYAN ddStroke.Transparency = 0.3 ddStroke.ZIndex = 200 ddStroke.Parent = dropdown local ddScroll = Instance.new("ScrollingFrame") ddScroll.Size = UDim2.new(1, -16, 1, -16) ddScroll.Position = UDim2.new(0, 8, 0, 8) ddScroll.BackgroundTransparency = 1 ddScroll.BorderSizePixel = 0 ddScroll.ScrollBarThickness = 4 ddScroll.ScrollBarImageColor3 = COL_CYAN ddScroll.CanvasSize = UDim2.new(0, 0, 0, #LANG_ORDER * 36 + 4) ddScroll.ZIndex = 201 ddScroll.Parent = dropdown local ddLayout = Instance.new("UIListLayout") ddLayout.Padding = UDim.new(0, 4) ddLayout.Parent = ddScroll local dropdownOpen = false local function toggleDropdown(open) if open == nil then open = not dropdownOpen end dropdownOpen = open if open then dropdown.Visible = true dropdown.Size = UDim2.new(0, 220, 0, 0) TweenService:Create(dropdown, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = UDim2.new(0, 220, 0, math.min(#LANG_ORDER * 36 + 20, 480)), }):Play() langBtn.Text = currentLang .. " ▲" else TweenService:Create(dropdown, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Size = UDim2.new(0, 220, 0, 0), }):Play() langBtn.Text = currentLang .. " ▼" task.delay(0.2, function() if not dropdownOpen then dropdown.Visible = false end end) end end -- ================= СОЗДАНИЕ ЭЛЕМЕНТОВ ДО ЯЗЫКОВ ================= local idLabel = Instance.new("TextLabel") idLabel.Size = UDim2.new(1, -48, 0, 16) idLabel.Position = UDim2.new(0, 24, 0, 116) idLabel.BackgroundTransparency = 1 idLabel.Text = L.cursorLabel idLabel.TextColor3 = COL_TEXT_DIM idLabel.Font = Enum.Font.GothamBold idLabel.TextSize = 11 idLabel.TextXAlignment = Enum.TextXAlignment.Left idLabel.ZIndex = 3 idLabel.Parent = main local idBox = Instance.new("TextBox") idBox.Size = UDim2.new(1, -48, 0, 48) idBox.Position = UDim2.new(0, 24, 0, 136) idBox.BackgroundColor3 = COL_FIELD idBox.BackgroundTransparency = 0.15 idBox.BorderSizePixel = 0 idBox.TextColor3 = COL_TEXT idBox.PlaceholderText = L.cursorPlaceholder idBox.PlaceholderColor3 = Color3.fromRGB(90, 70, 130) idBox.Text = "" idBox.Font = Enum.Font.Gotham idBox.TextSize = 15 idBox.ClearTextOnFocus = false idBox.ZIndex = 3 idBox.Parent = main local idCorner = Instance.new("UICorner") idCorner.CornerRadius = UDim.new(0, 12) idCorner.Parent = idBox local previewFrame = Instance.new("Frame") previewFrame.Size = UDim2.new(0, 96, 0, 96) previewFrame.Position = UDim2.new(0, 24, 0, 196) previewFrame.BackgroundColor3 = COL_FIELD previewFrame.BackgroundTransparency = 0.2 previewFrame.BorderSizePixel = 0 previewFrame.ZIndex = 3 previewFrame.Parent = main local previewCorner = Instance.new("UICorner") previewCorner.CornerRadius = UDim.new(0, 12) previewCorner.Parent = previewFrame local previewImage = Instance.new("ImageLabel") previewImage.Size = UDim2.new(1, -16, 1, -16) previewImage.Position = UDim2.new(0, 8, 0, 8) previewImage.BackgroundTransparency = 1 previewImage.Image = "rbxassetid://" .. DEFAULT_CURSOR_ID previewImage.ScaleType = Enum.ScaleType.Fit previewImage.ZIndex = 4 previewImage.Parent = previewFrame local previewLabel = Instance.new("TextLabel") previewLabel.Size = UDim2.new(1, -140, 0, 20) previewLabel.Position = UDim2.new(0, 130, 0, 196) previewLabel.BackgroundTransparency = 1 previewLabel.Text = L.preview previewLabel.TextColor3 = COL_TEXT_DIM previewLabel.Font = Enum.Font.GothamBold previewLabel.TextSize = 13 previewLabel.TextXAlignment = Enum.TextXAlignment.Left previewLabel.ZIndex = 3 previewLabel.Parent = main local function makeButton(text, yPos) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -48, 0, 50) btn.Position = UDim2.new(0, 24, 0, yPos) btn.BackgroundColor3 = Color3.fromRGB(100, 20, 180) btn.BackgroundTransparency = 0.1 btn.BorderSizePixel = 0 btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.GothamBold btn.TextSize = 16 btn.AutoButtonColor = false btn.ZIndex = 3 btn.Parent = main local c = Instance.new("UICorner"); c.CornerRadius = UDim.new(0, 14); c.Parent = btn return btn end local applyCursorBtn = makeButton(L.applyCursor, 304) local skyLabel = Instance.new("TextLabel") skyLabel.Size = UDim2.new(1, -48, 0, 16) skyLabel.Position = UDim2.new(0, 24, 0, 388) skyLabel.BackgroundTransparency = 1 skyLabel.Text = L.skyLabel skyLabel.TextColor3 = COL_TEXT_DIM skyLabel.Font = Enum.Font.GothamBold skyLabel.TextSize = 11 skyLabel.TextXAlignment = Enum.TextXAlignment.Left skyLabel.ZIndex = 3 skyLabel.Parent = main local skyBoxInput = Instance.new("TextBox") skyBoxInput.Size = UDim2.new(1, -48, 0, 48) skyBoxInput.Position = UDim2.new(0, 24, 0, 408) skyBoxInput.BackgroundColor3 = COL_FIELD skyBoxInput.BackgroundTransparency = 0.15 skyBoxInput.BorderSizePixel = 0 skyBoxInput.TextColor3 = COL_TEXT skyBoxInput.PlaceholderText = L.skyPlaceholder skyBoxInput.PlaceholderColor3 = Color3.fromRGB(90, 70, 130) skyBoxInput.Text = "" skyBoxInput.Font = Enum.Font.Gotham skyBoxInput.TextSize = 15 skyBoxInput.ClearTextOnFocus = false skyBoxInput.ZIndex = 3 skyBoxInput.Parent = main local applySkyBtn = makeButton(L.applySky, 466) local skyPresetsLabel = Instance.new("TextLabel") skyPresetsLabel.Size = UDim2.new(1, -48, 0, 16) skyPresetsLabel.Position = UDim2.new(0, 24, 0, 530) skyPresetsLabel.BackgroundTransparency = 1 skyPresetsLabel.Text = L.skyPresetsLabel skyPresetsLabel.TextColor3 = COL_TEXT_DIM skyPresetsLabel.Font = Enum.Font.GothamBold skyPresetsLabel.TextSize = 11 skyPresetsLabel.TextXAlignment = Enum.TextXAlignment.Left skyPresetsLabel.ZIndex = 3 skyPresetsLabel.Parent = main local presetGrid = Instance.new("Frame") presetGrid.Size = UDim2.new(1, -48, 0, 168) presetGrid.Position = UDim2.new(0, 24, 0, 552) presetGrid.BackgroundTransparency = 1 presetGrid.ZIndex = 3 presetGrid.Parent = main local gridLayout = Instance.new("UIGridLayout") gridLayout.CellSize = UDim2.new(0.5, -4, 0, 80) gridLayout.CellPadding = UDim2.new(0, 8, 0, 8) gridLayout.Parent = presetGrid for i, preset in ipairs(SKYBOX_PRESETS) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.5, -4, 0, 80) btn.BackgroundColor3 = Color3.fromRGB(40, 20, 65) btn.BackgroundTransparency = 0.1 btn.BorderSizePixel = 0 btn.Text = "" btn.AutoButtonColor = false btn.LayoutOrder = i btn.ZIndex = 3 btn.Parent = presetGrid local thumb = Instance.new("ImageLabel") thumb.Size = UDim2.new(0, 64, 0, 64) thumb.Position = UDim2.new(0, 8, 0.5, -32) thumb.BackgroundColor3 = Color3.fromRGB(15, 10, 24) thumb.Image = "rbxassetid://" .. preset.id thumb.ScaleType = Enum.ScaleType.Crop thumb.ZIndex = 4 thumb.Parent = btn local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, -90, 1, 0) nameLabel.Position = UDim2.new(0, 80, 0, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Text = preset.name nameLabel.TextColor3 = Color3.fromRGB(230, 200, 255) nameLabel.Font = Enum.Font.GothamBold nameLabel.TextSize = 13 nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.ZIndex = 4 nameLabel.Parent = btn btn.MouseButton1Click:Connect(function() local sky = Lighting:FindFirstChildOfClass("Sky") or Instance.new("Sky", Lighting) local asset = "rbxassetid://" .. preset.id sky.SkyboxBk, sky.SkyboxDn, sky.SkyboxFt = asset, asset, asset sky.SkyboxLf, sky.SkyboxRt, sky.SkyboxUp = asset, asset, asset skyBoxInput.Text = preset.id end) end local resetBtn = makeButton(L.reset, 740) resetBtn.BackgroundColor3 = Color3.fromRGB(50, 12, 35) resetBtn.TextColor3 = COL_RED -- ================= ТЕПЕРЬ ФУНКЦИЯ ЯЗЫКА ================= local function applyLanguage(langCode) if not LOCALES[langCode] then return end currentLang = langCode L = LOCALES[langCode] -- Обновляем тексты title.Text = L.title subtitle.Text = L.subtitle idLabel.Text = L.cursorLabel idBox.PlaceholderText = L.cursorPlaceholder previewLabel.Text = L.preview applyCursorBtn.Text = L.applyCursor skyLabel.Text = L.skyLabel skyBoxInput.PlaceholderText = L.skyPlaceholder applySkyBtn.Text = L.applySky skyPresetsLabel.Text = L.skyPresetsLabel resetBtn.Text = L.reset langBtn.Text = currentLang .. " ▼" end -- Заполняем список языков local langButtons = {} for i, code in ipairs(LANG_ORDER) do local b = Instance.new("TextButton") b.Size = UDim2.new(1, 0, 0, 32) b.BackgroundColor3 = Color3.fromRGB(26, 18, 40) b.BorderSizePixel = 0 b.Text = code .. " — " .. LANG_NAMES[code] b.TextColor3 = COL_TEXT_DIM b.Font = Enum.Font.GothamBold b.TextSize = 13 b.TextXAlignment = Enum.TextXAlignment.Left b.AutoButtonColor = false b.LayoutOrder = i b.ZIndex = 202 b.Parent = ddScroll local bc = Instance.new("UICorner") bc.CornerRadius = UDim.new(0, 8) bc.Parent = b b.MouseButton1Click:Connect(function() applyLanguage(code) toggleDropdown(false) for c, btn in pairs(langButtons) do btn.BackgroundColor3 = (c == code) and Color3.fromRGB(70, 25, 120) or Color3.fromRGB(26, 18, 40) btn.TextColor3 = (c == code) and Color3.fromRGB(255, 255, 255) or COL_TEXT_DIM end end) langButtons[code] = b end langBtn.MouseButton1Click:Connect(function() toggleDropdown() end) -- ================= КУРСОР И ЛОГИКА ================= local cursorGui = Instance.new("ScreenGui") cursorGui.Name = "MikeMercuCursorOverlay" cursorGui.IgnoreGuiInset = true cursorGui.ResetOnSpawn = false cursorGui.DisplayOrder = 9999 cursorGui.Parent = playerGui local customCursor = Instance.new("ImageLabel") customCursor.Size = UDim2.new(0, 64, 0, 64) customCursor.AnchorPoint = Vector2.new(0.5, 0.5) customCursor.BackgroundTransparency = 1 customCursor.Visible = false customCursor.Parent = cursorGui UserInputService.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement and customCursor.Visible then local inset = GuiService:GetGuiInset() customCursor.Position = UDim2.new(0, input.Position.X, 0, input.Position.Y + inset.Y) end end) applyCursorBtn.MouseButton1Click:Connect(function() local id = idBox.Text:match("%d+") if id then customCursor.Image = "rbxassetid://" .. id customCursor.Visible = true UserInputService.MouseIconEnabled = false end end) resetBtn.MouseButton1Click:Connect(function() customCursor.Visible = false UserInputService.MouseIconEnabled = true idBox.Text = "" skyBoxInput.Text = "" end) -- Запуск local sky = Lighting:FindFirstChildOfClass("Sky") or Instance.new("Sky", Lighting) local defAsset = "rbxassetid://" .. DEFAULT_SKYBOX_ID sky.SkyboxBk, sky.SkyboxDn, sky.SkyboxFt = defAsset, defAsset, defAsset sky.SkyboxLf, sky.SkyboxRt, sky.SkyboxUp = defAsset, defAsset, defAsset customCursor.Image = "rbxassetid://" .. DEFAULT_CURSOR_ID customCursor.Visible = true UserInputService.MouseIconEnabled = false -- Горячие клавиши UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.K or input.KeyCode == Enum.KeyCode.RightShift then if screenGui.Enabled then closeGui() else openGui() end end end)