local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer -- GUI Setup local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.Name = "b0c0nExecutor" gui.ResetOnSpawn = false -- Main GUI local main = Instance.new("Frame", gui) main.Size = UDim2.new(0, 420, 0, 420) main.Position = UDim2.new(0.5, -210, 0.5, -210) main.BackgroundColor3 = Color3.fromRGB(30, 30, 30) main.Visible = true main.Active = true main.Draggable = true local corner = Instance.new("UICorner", main) corner.CornerRadius = UDim.new(0, 8) -- Rainbow Background (behind UI) local rainbow = Instance.new("Frame", main) rainbow.Size = UDim2.new(1, 0, 1, 0) rainbow.BackgroundColor3 = Color3.new(1, 0, 0) rainbow.Position = UDim2.new(0, 0, 0, 0) rainbow.ZIndex = 0 rainbow.BorderSizePixel = 0 -- Animate rainbow task.spawn(function() while true do for h = 0, 1, 0.01 do rainbow.BackgroundColor3 = Color3.fromHSV(h, 1, 1) wait(0.03) end end end) -- TextBox for Script Input local scriptBox = Instance.new("TextBox", main) scriptBox.Size = UDim2.new(1, -20, 0, 240) scriptBox.Position = UDim2.new(0, 10, 0, 40) scriptBox.ClearTextOnFocus = false scriptBox.MultiLine = true scriptBox.PlaceholderText = "Enter script here..." scriptBox.Text = "" scriptBox.TextColor3 = Color3.new(1, 1, 1) scriptBox.BackgroundColor3 = Color3.fromRGB(20, 20, 20) scriptBox.Font = Enum.Font.Code scriptBox.TextSize = 16 scriptBox.TextXAlignment = Enum.TextXAlignment.Left scriptBox.TextYAlignment = Enum.TextYAlignment.Top scriptBox.ZIndex = 2 -- Status Label local status = Instance.new("TextLabel", main) status.Size = UDim2.new(1, -20, 0, 20) status.Position = UDim2.new(0, 10, 0, 290) status.Text = "Status: Not Injected" status.TextColor3 = Color3.new(1, 1, 1) status.BackgroundTransparency = 1 status.TextXAlignment = Enum.TextXAlignment.Left status.TextScaled = true status.Font = Enum.Font.Gotham status.ZIndex = 2 -- Inject Button local injectBtn = Instance.new("TextButton", main) injectBtn.Text = "Inject" injectBtn.Size = UDim2.new(0.45, -5, 0, 40) injectBtn.Position = UDim2.new(0, 10, 1, -50) injectBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 255) injectBtn.TextColor3 = Color3.new(1, 1, 1) injectBtn.Font = Enum.Font.GothamBold injectBtn.TextScaled = true injectBtn.ZIndex = 2 -- Execute Button local execBtn = Instance.new("TextButton", main) execBtn.Text = "Execute" execBtn.Size = UDim2.new(0.45, -5, 0, 40) execBtn.Position = UDim2.new(0.5, 5, 1, -50) execBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 100) execBtn.TextColor3 = Color3.new(1, 1, 1) execBtn.Font = Enum.Font.GothamBold execBtn.TextScaled = true execBtn.ZIndex = 2 local clearBtn = Instance.new("TextButton", main) clearBtn.Text = "Clear" clearBtn.Size = UDim2.new(0.9, 0, 0, 30) clearBtn.Position = UDim2.new(0.05, 0, 1, -90) clearBtn.BackgroundColor3 = Color3.fromRGB(180, 180, 0) clearBtn.TextColor3 = Color3.new(1, 1, 1) clearBtn.Font = Enum.Font.GothamBold clearBtn.TextScaled = true clearBtn.ZIndex = 2 -- Minimize Button local minimizeBtn = Instance.new("TextButton", main) minimizeBtn.Text = "-" minimizeBtn.Size = UDim2.new(0, 30, 0, 30) minimizeBtn.Position = UDim2.new(1, -35, 0, 5) minimizeBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) minimizeBtn.TextColor3 = Color3.new(1, 1, 1) minimizeBtn.Font = Enum.Font.GothamBold minimizeBtn.TextScaled = true minimizeBtn.ZIndex = 2 clearBtn.MouseButton1Click:Connect(function() scriptBox.Text = "" status.Text = "Cleared" end) -- Delete Button local deleteBtn = Instance.new("TextButton", main) deleteBtn.Text = "X" deleteBtn.Size = UDim2.new(0, 30, 0, 30) deleteBtn.Position = UDim2.new(1, -70, 0, 5) deleteBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50) deleteBtn.TextColor3 = Color3.new(1, 1, 1) deleteBtn.Font = Enum.Font.GothamBold deleteBtn.TextScaled = true deleteBtn.ZIndex = 2 local backBtn = Instance.new("TextButton", creditsFrame) backBtn.Text = "Back" backBtn.Size = UDim2.new(0.3, 0, 0, 40) backBtn.Position = UDim2.new(0.35, 0, 1, -60) backBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50) backBtn.TextColor3 = Color3.new(1, 1, 1) backBtn.Font = Enum.Font.GothamBold backBtn.TextScaled = true backBtn.MouseButton1Click:Connect(function() main.Visible = true creditsFrame.Visible = false end) local cornerCredits = Instance.new("UICorner", creditsFrame) cornerCredits.CornerRadius = UDim.new(0, 8) local injected = false injectBtn.MouseButton1Click:Connect(function() if injected then status.Text = "Already Injected" return end status.Text = "Injecting..." for i = 5, 1, -1 do status.Text = "Injecting in " .. i .. "s..." wait(1) end injected = true status.Text = "Status: Injected" end) -- EXECUTE SYSTEM execBtn.MouseButton1Click:Connect(function() if not injected then status.Text = "You haven't injected!" return end local success, err = pcall(function() local func, errMsg = loadstring(scriptBox.Text) if not func then error("Error: " .. errMsg) end func() -- Execute the loaded script end) if success then status.Text = "Executed Successfully" else status.Text = "Error: " .. tostring(err) end end) -- MINIMIZE TOGGLE local minimized = false minimizeBtn.MouseButton1Click:Connect(function() minimized = not minimized for _, v in pairs(main:GetChildren()) do if v ~= minimizeBtn and v ~= deleteBtn and v ~= rainbow then v.Visible = not minimized end end end) -- DELETE BUTTON deleteBtn.MouseButton1Click:Connect(function() gui:Destroy() end)