local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Name = "VistaExecutorGUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 600, 0, 350) mainFrame.Position = UDim2.new(0.5, -300, 0.5, -175) mainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) mainFrame.BorderSizePixel = 1 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = gui local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 30) titleBar.BackgroundColor3 = Color3.fromRGB(240, 240, 240) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local icon = Instance.new("ImageLabel") icon.Size = UDim2.new(0, 25, 0, 25) icon.Position = UDim2.new(0, 5, 0.5, -12) icon.BackgroundTransparency = 1 icon.Image = "rbxassetid://112043109776324" icon.Parent = titleBar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -40, 1, 0) title.Position = UDim2.new(0, 35, 0, 0) title.BackgroundTransparency = 1 title.Text = "Vista Executor" title.TextColor3 = Color3.fromRGB(0, 0, 0) title.Font = Enum.Font.SourceSansBold title.TextSize = 18 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = titleBar local editor = Instance.new("TextBox") editor.Size = UDim2.new(0, 400, 0, 200) editor.Position = UDim2.new(0, 5, 0, 40) editor.BackgroundColor3 = Color3.fromRGB(245, 245, 245) editor.TextColor3 = Color3.fromRGB(0, 0, 0) editor.ClearTextOnFocus = false editor.TextXAlignment = Enum.TextXAlignment.Left editor.TextYAlignment = Enum.TextYAlignment.Top editor.Font = Enum.Font.Code editor.TextSize = 16 editor.MultiLine = true editor.Text = "-- Type your script here" editor.Parent = mainFrame local function makeButton(txt, xOffset) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 90, 0, 30) btn.Position = UDim2.new(0, xOffset, 0, 250) -- кнопки сразу под редактором btn.Text = txt btn.Font = Enum.Font.SourceSansBold btn.TextSize = 16 btn.BackgroundColor3 = Color3.fromRGB(230, 230, 230) btn.TextColor3 = Color3.fromRGB(0, 0, 0) btn.Parent = mainFrame return btn end local executeBtn = makeButton("Execute", 10) local clearBtn = makeButton("Clear", 110) local consoleFrame = Instance.new("ScrollingFrame") consoleFrame.Size = UDim2.new(1, -10, 0, 60) consoleFrame.Position = UDim2.new(0, 5, 0, 290) -- consoleFrame.BackgroundColor3 = Color3.fromRGB(245, 245, 245) consoleFrame.BorderSizePixel = 1 consoleFrame.ScrollBarThickness = 6 consoleFrame.CanvasSize = UDim2.new(0, 0, 0, 0) consoleFrame.Parent = mainFrame local console = Instance.new("TextLabel") console.Size = UDim2.new(1, -5, 0, 0) console.BackgroundTransparency = 1 console.TextColor3 = Color3.fromRGB(0, 0, 0) console.Font = Enum.Font.Code console.TextSize = 14 console.TextXAlignment = Enum.TextXAlignment.Left console.TextYAlignment = Enum.TextYAlignment.Top console.TextWrapped = false console.Text = "[VISTA]-Welcome, Agent\n[VISTA]-Attacking\n[VISTA]-Attached to Roblox\n[VISTA]-U can start Hacking! Agent." console.Parent = consoleFrame local function updateConsole() console.Size = UDim2.new(1, -5, 0, console.TextBounds.Y + 10) consoleFrame.CanvasSize = UDim2.new(0, 0, 0, console.TextBounds.Y + 10) end console:GetPropertyChangedSignal("Text"):Connect(updateConsole) updateConsole() executeBtn.MouseButton1Click:Connect(function() local success, err = pcall(function() local f = loadstring(editor.Text) if f then f() end end) if success then console.Text = console.Text.."\n[VISTA]-Script Executed!" else console.Text = console.Text.."\n[VISTA]-Error: "..tostring(err) end updateConsole() end) clearBtn.MouseButton1Click:Connect(function() editor.Text = "" console.Text = "[VISTA]-Welcome, Agent\n[VISTA]-Attacking\n[VISTA]-Attached to Roblox\n[VISTA]-U can start Hacking! Agent." updateConsole() end)