-- Modern In-Game Script Executor UI & Engine -- Features: Draggable Window, Dynamic Script Area, Integrated Script Hub local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- 1. Main UI Container (Protects UI from being deleted by normal game scripts) local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "CustomExecutorUI" ScreenGui.ResetOnSpawn = false pcall(function() ScreenGui.Parent = CoreGui -- Attempts to parent to CoreGui for exploit protection end) if not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end -- 2. Modern Dark Main Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 550, 0, 350) MainFrame.Position = UDim2.new(0.5, -275, 0.5, -175) MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 8) UICorner.Parent = MainFrame -- 3. Top Title Bar local TopBar = Instance.new("Frame") TopBar.Name = "TopBar" TopBar.Size = UDim2.new(1, 0, 0, 40) TopBar.BackgroundColor3 = Color3.fromRGB(35, 35, 35) TopBar.BorderSizePixel = 0 TopBar.Parent = MainFrame local TopBarCorner = Instance.new("UICorner") TopBarCorner.CornerRadius = UDim.new(0, 8) TopBarCorner.Parent = TopBar -- Title Text local Title = Instance.new("TextLabel") Title.Name = "Title" Title.Size = UDim2.new(0, 200, 1, 0) Title.Position = UDim2.new(0, 15, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "EPIC SCRIPT EXECUTOR FOR EPIC PPLZ" Title.TextColor3 = Color3.fromRGB(240, 240, 240) Title.TextSize = 16 Title.Font = Enum.Font.SourceSansBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = TopBar -- Close Button local CloseButton = Instance.new("TextButton") CloseButton.Name = "CloseButton" CloseButton.Size = UDim2.new(0, 35, 0, 35) CloseButton.Position = UDim2.new(1, -40, 0, 2) CloseButton.BackgroundTransparency = 1 CloseButton.Text = "✕" CloseButton.TextColor3 = Color3.fromRGB(180, 180, 180) CloseButton.TextSize = 18 CloseButton.Font = Enum.Font.SourceSansBold CloseButton.Parent = TopBar CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- 4. Code Text Box Input Area local SourceContainer = Instance.new("ScrollingFrame") SourceContainer.Name = "SourceContainer" SourceContainer.Size = UDim2.new(0, 380, 0, 230) SourceContainer.Position = UDim2.new(0, 15, 0, 55) SourceContainer.BackgroundColor3 = Color3.fromRGB(18, 18, 18) SourceContainer.BorderSizePixel = 0 SourceContainer.CanvasSize = UDim2.new(0, 0, 5, 0) -- Extended length for large scripts SourceContainer.Parent = MainFrame local SourceBox = Instance.new("TextBox") SourceBox.Name = "SourceBox" SourceBox.Size = UDim2.new(1, -10, 1, 0) SourceBox.Position = UDim2.new(0, 5, 0, 0) SourceBox.BackgroundTransparency = 1 SourceBox.Text = "-- Made by 98ikidds..." SourceBox.TextColor3 = Color3.fromRGB(150, 230, 150) SourceBox.TextSize = 14 SourceBox.Font = Enum.Font.Code SourceBox.TextXAlignment = Enum.TextXAlignment.Left SourceBox.TextYAlignment = Enum.TextYAlignment.Top SourceBox.ClearTextOnFocus = false SourceBox.MultiLine = true SourceBox.Parent = SourceContainer -- 5. Control Buttons Footer local ExecuteButton = Instance.new("TextButton") ExecuteButton.Name = "ExecuteButton" ExecuteButton.Size = UDim2.new(0, 110, 0, 35) ExecuteButton.Position = UDim2.new(0, 15, 0, 300) ExecuteButton.BackgroundColor3 = Color3.fromRGB(46, 117, 89) ExecuteButton.Text = "Execute" ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255) ExecuteButton.Font = Enum.Font.SourceSansBold ExecuteButton.TextSize = 16 ExecuteButton.Parent = MainFrame local ExecCorner = Instance.new("UICorner") ExecCorner.CornerRadius = UDim.new(0, 4) ExecCorner.Parent = ExecuteButton local ClearButton = Instance.new("TextButton") ClearButton.Name = "ClearButton" ClearButton.Size = UDim2.new(0, 110, 0, 35) ClearButton.Position = UDim2.new(0, 135, 0, 300) ClearButton.BackgroundColor3 = Color3.fromRGB(117, 46, 46) ClearButton.Text = "Clear Text" ClearButton.TextColor3 = Color3.fromRGB(255, 255, 255) ClearButton.Font = Enum.Font.SourceSansBold ClearButton.TextSize = 16 ClearButton.Parent = MainFrame local ClearCorner = Instance.new("UICorner") ClearCorner.CornerRadius = UDim.new(0, 4) ClearCorner.Parent = ClearButton ClearButton.MouseButton1Click:Connect(function() SourceBox.Text = "" end) -- 6. Integrated Script Hub (Right Panel) local HubLabel = Instance.new("TextLabel") HubLabel.Size = UDim2.new(0, 130, 0, 20) HubLabel.Position = UDim2.new(0, 405, 0, 55) HubLabel.BackgroundTransparency = 1 HubLabel.Text = "SCRIPT HUB" HubLabel.TextColor3 = Color3.fromRGB(150, 150, 150) HubLabel.TextSize = 14 HubLabel.Font = Enum.Font.SourceSansBold HubLabel.Parent = MainFrame local HubContainer = Instance.new("ScrollingFrame") HubContainer.Size = UDim2.new(0, 130, 0, 205) HubContainer.Position = UDim2.new(0, 405, 0, 80) HubContainer.BackgroundColor3 = Color3.fromRGB(20, 20, 20) HubContainer.BorderSizePixel = 0 HubContainer.Parent = MainFrame local HubLayout = Instance.new("UIListLayout") HubLayout.Padding = UDim.new(0, 5) HubLayout.Parent = HubContainer -- Helper function to add quick-load buttons to the hub local function AddHubButton(name, scriptSource) local HubBtn = Instance.new("TextButton") HubBtn.Size = UDim2.new(1, 0, 0, 30) HubBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) HubBtn.Text = name HubBtn.TextColor3 = Color3.fromRGB(220, 220, 220) HubBtn.Font = Enum.Font.SourceSans HubBtn.TextSize = 14 HubBtn.Parent = HubContainer local BtnCorner = Instance.new("UICorner") BtnCorner.CornerRadius = UDim.new(0, 4) BtnCorner.Parent = HubBtn HubBtn.MouseButton1Click:Connect(function() SourceBox.Text = scriptSource end) end -- Pre-loaded template tools inside the hub AddHubButton("Fly Script", "loadstring(game:HttpGet('https://githubusercontent.com'))()") AddHubButton("Infinite Yield", "loadstring(game:HttpGet('https://githubusercontent.com'))()") AddHubButton("ESP / Wallhack", "-- Enter your tracking code here") -- 7. Core Execution Execution Engine Block -- Employs standard exploit environment loadstring function environments ExecuteButton.MouseButton1Click:Connect(function() local scriptCode = SourceBox.Text if scriptCode == "" or scriptCode == "-- Paste your Lua script here..." then return end local executionFunc, executionError = loadstring(scriptCode) if executionFunc then local success, runtimeError = pcall(executionFunc) if not success then warn("Runtime Error: " .. tostring(runtimeError)) end else warn("Compilation Error: " .. tostring(executionError)) end end) -- 8. Visual Interaction Features (Window Dragging Engine) local dragging, dragInput, dragStart, 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 TopBar.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) TopBar.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)