Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- local player = Players.LocalPlayer
- -- Создаем GUI
- local gui = Instance.new("ScreenGui")
- gui.Name = "1qluaScriptGUI"
- gui.Parent = player:WaitForChild("PlayerGui")
- -- Основной фрейм с красивым дизайном
- local mainFrame = Instance.new("Frame")
- mainFrame.Name = "MainFrame"
- mainFrame.Size = UDim2.new(0.35, 0, 0.45, 0)
- mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
- mainFrame.BorderSizePixel = 0
- mainFrame.ClipsDescendants = true
- mainFrame.Parent = gui
- -- Добавляем закругленные углы
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0.03, 0)
- corner.Parent = mainFrame
- -- Тень для фрейма
- local shadow = Instance.new("ImageLabel")
- shadow.Name = "Shadow"
- shadow.Size = UDim2.new(1, 10, 1, 10)
- shadow.Position = UDim2.new(0, -5, 0, -5)
- shadow.BackgroundTransparency = 1
- shadow.Image = "rbxassetid://1316045217"
- shadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- shadow.ImageTransparency = 0.8
- shadow.ScaleType = Enum.ScaleType.Slice
- shadow.SliceCenter = Rect.new(10, 10, 118, 118)
- shadow.Parent = mainFrame
- -- Заголовок с возможностью перемещения
- local title = Instance.new("Frame")
- title.Name = "Title"
- title.Size = UDim2.new(1, 0, 0.12, 0)
- title.Position = UDim2.new(0, 0, 0, 0)
- title.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
- title.BorderSizePixel = 0
- title.ZIndex = 2
- title.Parent = mainFrame
- local titleCorner = Instance.new("UICorner")
- titleCorner.CornerRadius = UDim.new(0.03, 0)
- titleCorner.Parent = title
- local titleText = Instance.new("TextLabel")
- titleText.Name = "TitleText"
- titleText.Size = UDim2.new(0.8, 0, 1, 0)
- titleText.Position = UDim2.new(0.1, 0, 0, 0)
- titleText.BackgroundTransparency = 1
- titleText.Text = "Скрипт 1qlua"
- titleText.TextColor3 = Color3.fromRGB(220, 220, 255)
- titleText.TextScaled = true
- titleText.Font = Enum.Font.GothamBold
- titleText.Parent = title
- -- Иконка для перемещения
- local dragIcon = Instance.new("ImageLabel")
- dragIcon.Name = "DragIcon"
- dragIcon.Size = UDim2.new(0.07, 0, 0.7, 0)
- dragIcon.Position = UDim2.new(0.02, 0, 0.15, 0)
- dragIcon.BackgroundTransparency = 1
- dragIcon.Image = "rbxassetid://3926305904" -- Иконка перемещения
- dragIcon.ImageColor3 = Color3.fromRGB(180, 180, 220)
- dragIcon.ImageRectOffset = Vector2.new(164, 364)
- dragIcon.ImageRectSize = Vector2.new(36, 36)
- dragIcon.Parent = title
- -- Фрейм для текста с прокруткой
- local scrollFrame = Instance.new("ScrollingFrame")
- scrollFrame.Name = "ScrollFrame"
- scrollFrame.Size = UDim2.new(1, -20, 0.68, -10)
- scrollFrame.Position = UDim2.new(0, 10, 0.12, 5)
- scrollFrame.BackgroundTransparency = 1
- scrollFrame.ScrollBarThickness = 6
- scrollFrame.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 150)
- scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- scrollFrame.Parent = mainFrame
- -- Ваш текст обновлений с эмодзи и форматированием
- local updateText = [[
- [1qlua Script - Последние обновления]
- Версия 20 🚀
- • Добавлено меню обновлений – Теперь вы можете легко следить за новыми функциями и изменениями прямо в клиенте.
- • Переделан телепорт к игрокам – Улучшенный интерфейс и стабильность при телепортации к другим игрокам.
- • Функция автоматического выбора игры – Клиент сам определяет подходящий режим игры, чтобы вы могли начать играть быстрее.
- ─────────────────────
- Версия 19 🔥
- • Переход на новую библиотеку – Повышена производительность и стабильность работы.
- • Добавлены новые функции в Player Menu – Ещё больше возможностей для взаимодействия с игроками.
- • Авто-фарм и крутые скрипты – Теперь фармить ресурсы стало проще, а также добавлены мощные скрипты для Ohio, чтобы вы могли играть с максимальным удобством.
- ─────────────────────
- Обновляйтесь и наслаждайтесь улучшенным геймплеем! 🎮✨
- ]]
- local textLabel = Instance.new("TextLabel")
- textLabel.Name = "UpdateText"
- textLabel.Size = UDim2.new(1, -10, 0, 0)
- textLabel.Position = UDim2.new(0, 5, 0, 5)
- textLabel.BackgroundTransparency = 1
- textLabel.Text = updateText
- textLabel.TextColor3 = Color3.fromRGB(220, 220, 255)
- textLabel.TextSize = 18
- textLabel.TextXAlignment = Enum.TextXAlignment.Left
- textLabel.TextYAlignment = Enum.TextYAlignment.Top
- textLabel.TextWrapped = true
- textLabel.AutomaticSize = Enum.AutomaticSize.Y
- textLabel.Font = Enum.Font.Gotham
- textLabel.Parent = scrollFrame
- -- Автоматическая настройка размера прокрутки
- textLabel:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
- scrollFrame.CanvasSize = UDim2.new(0, 0, 0, textLabel.AbsoluteSize.Y + 20)
- end)
- -- Кнопка запуска с красивым дизайном
- local launchButton = Instance.new("TextButton")
- launchButton.Name = "LaunchButton"
- launchButton.Size = UDim2.new(0.8, 0, 0.15, 0)
- launchButton.Position = UDim2.new(0.1, 0, 0.82, 0)
- launchButton.BackgroundColor3 = Color3.fromRGB(50, 70, 120)
- launchButton.BorderSizePixel = 0
- launchButton.Text = "ЗАПУСТИТЬ"
- launchButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- launchButton.TextScaled = true
- launchButton.Font = Enum.Font.GothamBold
- launchButton.Parent = mainFrame
- -- Закругление кнопки
- local buttonCorner = Instance.new("UICorner")
- buttonCorner.CornerRadius = UDim.new(0.2, 0)
- buttonCorner.Parent = launchButton
- -- Эффекты при наведении на кнопку
- launchButton.MouseEnter:Connect(function()
- TweenService:Create(launchButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(70, 90, 140)}):Play()
- end)
- launchButton.MouseLeave:Connect(function()
- TweenService:Create(launchButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(50, 70, 120)}):Play()
- end)
- -- Функция загрузки
- local function showLoading()
- local loadingFrame = Instance.new("Frame")
- loadingFrame.Name = "LoadingFrame"
- loadingFrame.Size = UDim2.new(1, 0, 1, 0)
- loadingFrame.Position = UDim2.new(0, 0, 0, 0)
- loadingFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
- loadingFrame.BackgroundTransparency = 0.5
- loadingFrame.ZIndex = 5
- loadingFrame.Parent = mainFrame
- local loadingCircle = Instance.new("ImageLabel")
- loadingCircle.Name = "LoadingCircle"
- loadingCircle.Size = UDim2.new(0.2, 0, 0.2, 0)
- loadingCircle.Position = UDim2.new(0.4, 0, 0.4, 0)
- loadingCircle.BackgroundTransparency = 1
- loadingCircle.Image = "rbxassetid://9125473262" -- ID крутящейся иконки загрузки
- loadingCircle.ZIndex = 6
- loadingCircle.Parent = loadingFrame
- local loadingText = Instance.new("TextLabel")
- loadingText.Name = "LoadingText"
- loadingText.Size = UDim2.new(1, 0, 0.1, 0)
- loadingText.Position = UDim2.new(0, 0, 0.65, 0)
- loadingText.BackgroundTransparency = 1
- loadingText.Text = "Загрузка..."
- loadingText.TextColor3 = Color3.fromRGB(220, 220, 255)
- loadingText.TextScaled = true
- loadingText.ZIndex = 6
- loadingText.Parent = loadingFrame
- -- Анимация вращения
- local rotateConnection
- rotateConnection = game:GetService("RunService").Heartbeat:Connect(function(dt)
- loadingCircle.Rotation = loadingCircle.Rotation + (dt * 180)
- end)
- return loadingFrame, rotateConnection
- end
- -- Логика перемещения GUI
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- 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
- title.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)
- title.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
- update(input)
- end
- end)
- -- Обработчик нажатия кнопки
- launchButton.MouseButton1Click:Connect(function()
- -- Блокируем кнопку
- launchButton.AutoButtonColor = false
- launchButton.BackgroundColor3 = Color3.fromRGB(80, 100, 150)
- launchButton.Text = "ЗАГРУЗКА..."
- -- Показываем анимацию загрузки
- local loadingFrame, rotateConnection = showLoading()
- -- Симулируем загрузку (замените на реальную загрузку)
- wait(2)
- -- Убираем анимацию
- rotateConnection:Disconnect()
- loadingFrame:Destroy()
- -- Закрываем GUI с анимацией
- local tween = TweenService:Create(mainFrame, TweenInfo.new(0.5), {
- Size = UDim2.new(0, 0, 0, 0),
- Position = UDim2.new(0.5, 0, 0.5, 0)
- })
- tween:Play()
- tween.Completed:Wait()
- gui:Destroy()
- loadstring(game:HttpGet("https://pastebin.com/raw/Kw1tndff"))()
- end)
- -- Анимация появления
- mainFrame.Size = UDim2.new(0, 0, 0, 0)
- local appearTween = TweenService:Create(mainFrame, TweenInfo.new(0.7, Enum.EasingStyle.Back), {
- Size = UDim2.new(0.35, 0, 0.45, 0)
- })
- appearTween:Play()
Add Comment
Please, Sign In to add comment