Advertisement
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
- local playerGui = player:WaitForChild("PlayerGui")
- -- Создаем основной экран
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "ScriptLauncher"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- local MainFrame = Instance.new("Frame")
- MainFrame.Name = "MainFrame"
- MainFrame.Size = UDim2.new(0, 400, 0, 500)
- MainFrame.Position = UDim2.new(0.5, -200, 0.5, -250)
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
- MainFrame.BorderSizePixel = 0
- MainFrame.ClipsDescendants = true
- -- Эффект градиента
- local Gradient = Instance.new("UIGradient")
- Gradient.Rotation = 90
- Gradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(40, 0, 60)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(10, 0, 20))
- })
- Gradient.Parent = MainFrame
- -- Заголовок
- local Title = Instance.new("TextLabel")
- Title.Name = "Title"
- Title.Size = UDim2.new(1, 0, 0, 50)
- Title.Position = UDim2.new(0, 0, 0, 0)
- Title.BackgroundTransparency = 1
- Title.Text = "SCRIPT LAUNCHER"
- Title.TextColor3 = Color3.fromRGB(200, 150, 255)
- Title.Font = Enum.Font.GothamBold
- Title.TextSize = 24
- Title.Parent = MainFrame
- -- Кнопка закрытия
- local CloseButton = Instance.new("TextButton")
- CloseButton.Name = "CloseButton"
- CloseButton.Size = UDim2.new(0, 30, 0, 30)
- CloseButton.Position = UDim2.new(1, -35, 0, 10)
- CloseButton.BackgroundColor3 = Color3.fromRGB(40, 0, 60)
- CloseButton.BorderSizePixel = 0
- CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseButton.Text = "X"
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.TextSize = 18
- CloseButton.ZIndex = 2
- CloseButton.Parent = MainFrame
- -- Эффект при наведении на кнопку закрытия
- CloseButton.MouseEnter:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play()
- end)
- CloseButton.MouseLeave:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(40, 0, 60)}):Play()
- end)
- -- Поле ввода
- local InputFrame = Instance.new("Frame")
- InputFrame.Name = "InputFrame"
- InputFrame.Size = UDim2.new(0.9, 0, 0, 50)
- InputFrame.Position = UDim2.new(0.05, 0, 0, 70)
- InputFrame.BackgroundColor3 = Color3.fromRGB(30, 20, 40)
- InputFrame.BorderSizePixel = 0
- InputFrame.Parent = MainFrame
- local InputBox = Instance.new("TextBox")
- InputBox.Name = "InputBox"
- InputBox.Size = UDim2.new(1, 0, 1, 0)
- InputBox.BackgroundTransparency = 1
- InputBox.TextColor3 = Color3.fromRGB(200, 150, 255)
- InputBox.PlaceholderColor3 = Color3.fromRGB(100, 70, 120)
- InputBox.PlaceholderText = "Enter script name..."
- InputBox.Text = ""
- InputBox.Font = Enum.Font.Gotham
- InputBox.TextSize = 18
- InputBox.TextXAlignment = Enum.TextXAlignment.Left
- InputBox.Parent = InputFrame
- -- Подчеркивание поля ввода
- local InputLine = Instance.new("Frame")
- InputLine.Name = "InputLine"
- InputLine.Size = UDim2.new(1, 0, 0, 2)
- InputLine.Position = UDim2.new(0, 0, 1, -2)
- InputLine.BackgroundColor3 = Color3.fromRGB(100, 50, 150)
- InputLine.BorderSizePixel = 0
- InputLine.Parent = InputFrame
- -- Кнопка запуска
- local ExecuteButton = Instance.new("TextButton")
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Size = UDim2.new(0.9, 0, 0, 40)
- ExecuteButton.Position = UDim2.new(0.05, 0, 0, 130)
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(80, 0, 120)
- ExecuteButton.BorderSizePixel = 0
- ExecuteButton.Text = "EXECUTE"
- ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.Font = Enum.Font.GothamBold
- ExecuteButton.TextSize = 18
- ExecuteButton.Parent = MainFrame
- -- Анимация кнопки запуска
- ExecuteButton.MouseEnter:Connect(function()
- TweenService:Create(ExecuteButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(120, 0, 180),
- Size = UDim2.new(0.92, 0, 0, 42),
- Position = UDim2.new(0.04, 0, 0, 129)
- }):Play()
- end)
- ExecuteButton.MouseLeave:Connect(function()
- TweenService:Create(ExecuteButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(80, 0, 120),
- Size = UDim2.new(0.9, 0, 0, 40),
- Position = UDim2.new(0.05, 0, 0, 130)
- }):Play()
- end)
- -- Список скриптов
- local ScriptsFrame = Instance.new("Frame")
- ScriptsFrame.Name = "ScriptsFrame"
- ScriptsFrame.Size = UDim2.new(0.9, 0, 0, 280)
- ScriptsFrame.Position = UDim2.new(0.05, 0, 0, 180)
- ScriptsFrame.BackgroundColor3 = Color3.fromRGB(25, 15, 35)
- ScriptsFrame.BorderSizePixel = 0
- ScriptsFrame.Parent = MainFrame
- local ScriptsTitle = Instance.new("TextLabel")
- ScriptsTitle.Name = "ScriptsTitle"
- ScriptsTitle.Size = UDim2.new(1, 0, 0, 30)
- ScriptsTitle.BackgroundTransparency = 1
- ScriptsTitle.Text = "AVAILABLE SCRIPTS"
- ScriptsTitle.TextColor3 = Color3.fromRGB(180, 130, 230)
- ScriptsTitle.Font = Enum.Font.GothamBold
- ScriptsTitle.TextSize = 16
- ScriptsTitle.TextXAlignment = Enum.TextXAlignment.Left
- ScriptsTitle.Parent = ScriptsFrame
- local ScriptsList = Instance.new("ScrollingFrame")
- ScriptsList.Name = "ScriptsList"
- ScriptsList.Size = UDim2.new(1, 0, 1, -30)
- ScriptsList.Position = UDim2.new(0, 0, 0, 30)
- ScriptsList.BackgroundTransparency = 1
- ScriptsList.ScrollBarThickness = 4
- ScriptsList.ScrollBarImageColor3 = Color3.fromRGB(100, 50, 150)
- ScriptsList.AutomaticCanvasSize = Enum.AutomaticSize.Y
- ScriptsList.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScriptsList.Parent = ScriptsFrame
- local UIListLayout = Instance.new("UIListLayout")
- UIListLayout.Padding = UDim.new(0, 5)
- UIListLayout.Parent = ScriptsList
- -- Добавляем возможность перемещения 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
- MainFrame.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)
- MainFrame.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)
- -- Закрытие GUI
- CloseButton.MouseButton1Click:Connect(function()
- TweenService:Create(MainFrame, TweenInfo.new(0.3), {Size = UDim2.new(0, 400, 0, 0)}):Play()
- wait(0.3)
- ScreenGui:Destroy()
- end)
- -- База данных скриптов
- local ScriptDatabase = {
- {
- name = "обычный скрипт",
- script = [[
- loadstring(game:HttpGet("https://pastebin.com/raw/EdUyxN7Z"))()
- ]]
- },
- {
- name = "полет",
- script = [[
- loadstring("\108\111\97\100\115\116\114\105\110\103\40\103\97\109\101\58\72\116\116\112\71\101\116\40\40\39\104\116\116\112\115\58\47\47\103\105\115\116\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\109\101\111\122\111\110\101\89\84\47\98\102\48\51\55\100\102\102\57\102\48\97\55\48\48\49\55\51\48\52\100\100\100\54\55\102\100\99\100\51\55\48\47\114\97\119\47\101\49\52\101\55\52\102\52\50\53\98\48\54\48\100\102\53\50\51\51\52\51\99\102\51\48\98\55\56\55\48\55\52\101\98\51\99\53\100\50\47\97\114\99\101\117\115\37\50\53\50\48\120\37\50\53\50\48\102\108\121\37\50\53\50\48\50\37\50\53\50\48\111\98\102\108\117\99\97\116\111\114\39\41\44\116\114\117\101\41\41\40\41\10\10")
- ]]
- },
- {
- name = "шейдеры",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/1XA5qM3D'))()
- ]]
- },
- {
- name = "чекпоинты",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/rz7uUmED'))()
- ]]
- },
- {
- name = "Свободная камера",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/ct8Kq5F0'))()
- ]]
- },
- {
- name = "Скорость",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/Zzqq3U0u'))()
- ]]
- },
- {
- name = "Писюн",
- script = [[
- loadstring(game:HttpGet("https://pastebin.com/raw/73RsNXY2"))()
- ]]
- },
- {
- name = "сервер",
- script = [[
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Syr0nix/RedFoxServerBowser/refs/heads/main/Mainlua"))()
- ]]
- },
- {
- name = "Удалитьстены",
- script = [[
- loadstring(game:HttpGet("https://pastebin.com/raw/FBKJTUyw"))())
- ]]
- },
- {
- name = "тестИнжектор",
- script = [[
- loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-UNChecker-GUI-Version-27355"))()
- ]]
- },
- {
- name = "DEX",
- script = [[
- loadstring(game:HttpGet("https://raw.githubusercontent.com/MariyaFurmanova/Library/main/dex2.0", true))()
- ]]
- },
- {
- name = "Vfly",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/9bNj1EcR'))()
- ]]
- },
- {
- name = "Неведимка",
- script = [[
- loadstring(game:HttpGet("https://pastebin.com/raw/VtWhnEnm"))()
- ]]
- },
- {
- name = "Infinite Yield",
- script = [[
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Infinite-Store/Infinite-Store/main/main.lua"))()
- ]]
- },
- {
- name = "Падения",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/CTUaCKN1'))()
- ]]
- },
- {
- name = "TPSpeed",
- script = [[
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/tumJ5guV"))()
- ]]
- },
- {
- name = "СоздатьМир",
- script = [[
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/SRZJGHyq"))()
- ]]
- },
- {
- name = "ESP",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/fkVSAXZ3'))()
- ]]
- },
- {
- name = "ТПклик",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/icB69Hhf'))()
- ]]
- },
- {
- name = "ТП к игрокам",
- script = [[
- loadstring(game:HttpGet('https://pastebin.com/raw/z4HARAHs'))()
- ]]
- }
- }
- -- Функция для добавления скрипта в базу данных
- local function addScriptToDatabase(name, script)
- table.insert(ScriptDatabase, {
- name = name,
- script = script
- })
- updateScriptsList()
- end
- -- Функция для обновления списка скриптов
- local function updateScriptsList()
- -- Очищаем список перед обновлением
- for _, child in ipairs(ScriptsList:GetChildren()) do
- if child:IsA("TextButton") then
- child:Destroy()
- end
- end
- -- Добавляем скрипты в список
- for _, scriptData in ipairs(ScriptDatabase) do
- local scriptButton = Instance.new("TextButton")
- scriptButton.Name = scriptData.name
- scriptButton.Size = UDim2.new(1, -10, 0, 30)
- scriptButton.BackgroundColor3 = Color3.fromRGB(40, 20, 60)
- scriptButton.BorderSizePixel = 0
- scriptButton.Text = " " .. scriptData.name
- scriptButton.TextColor3 = Color3.fromRGB(200, 150, 255)
- scriptButton.Font = Enum.Font.Gotham
- scriptButton.TextSize = 16
- scriptButton.TextXAlignment = Enum.TextXAlignment.Left
- scriptButton.Parent = ScriptsList
- -- Анимация при наведении
- scriptButton.MouseEnter:Connect(function()
- TweenService:Create(scriptButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(60, 30, 90),
- TextColor3 = Color3.fromRGB(230, 180, 255)
- }):Play()
- end)
- scriptButton.MouseLeave:Connect(function()
- TweenService:Create(scriptButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(40, 20, 60),
- TextColor3 = Color3.fromRGB(200, 150, 255)
- }):Play()
- end)
- -- Запуск скрипта при клике
- scriptButton.MouseButton1Click:Connect(function()
- InputBox.Text = scriptData.name
- end)
- end
- -- Обновляем размер CanvasSize после добавления всех элементов
- ScriptsList.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y)
- end
- -- Функция для выполнения скрипта
- local function executeScript(scriptName)
- for _, scriptData in ipairs(ScriptDatabase) do
- if scriptData.name:lower() == scriptName:lower() then
- local success, err = pcall(function()
- loadstring(scriptData.script)()
- end)
- if not success then
- warn("Error executing script: " .. err)
- end
- return true
- end
- end
- return false
- end
- -- Обработчик кнопки Execute
- ExecuteButton.MouseButton1Click:Connect(function()
- local scriptName = InputBox.Text
- if scriptName ~= "" then
- if not executeScript(scriptName) then
- warn("Script not found: " .. scriptName)
- end
- end
- end)
- -- Обработчик нажатия Enter в поле ввода
- InputBox.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- local scriptName = InputBox.Text
- if scriptName ~= "" then
- executeScript(scriptName)
- end
- end
- end)
- -- Инициализация GUI
- updateScriptsList()
- MainFrame.Parent = ScreenGui
- ScreenGui.Parent = playerGui
- -- Анимация появления
- MainFrame.Size = UDim2.new(0, 0, 0, 500)
- TweenService:Create(MainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
- Size = UDim2.new(0, 400, 0, 500)
- }):Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement