Home
Executor Integration

In-game script browser

Copy this Luau snippet into your executor. It fetches a live list from our API and renders an in-game UI with an Execute button per script.

executor.lua
-- ScriptProxy Executor Loader
-- Paste into any Roblox executor (Wave, Codex, Synapse Z, etc.)

local API = "https://your-app.lovable.app/api/executor/scripts?source=scriptblox"
local HttpService = game:GetService("HttpService")

local function fetchScripts(query)
    local url = API
    if query and #query > 0 then
        url = url .. "&q=" .. HttpService:UrlEncode(query)
    end
    local ok, res = pcall(function() return game:HttpGet(url) end)
    if not ok then return {} end
    local ok2, data = pcall(function() return HttpService:JSONDecode(res) end)
    if not ok2 or not data or not data.success then return {} end
    return data.scripts or {}
end

-- Build UI
local gui = Instance.new("ScreenGui")
gui.Name = "ScriptProxyUI"
gui.ResetOnSpawn = false
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = game:GetService("CoreGui")

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 420, 0, 480)
frame.Position = UDim2.new(0.5, -210, 0.5, -240)
frame.BackgroundColor3 = Color3.fromRGB(20, 18, 30)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 14)

local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, -80, 0, 40)
title.Position = UDim2.new(0, 14, 0, 8)
title.BackgroundTransparency = 1
title.Text = "ScriptProxy · Executor"
title.TextColor3 = Color3.fromRGB(230, 220, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 16
title.TextXAlignment = Enum.TextXAlignment.Left

local close = Instance.new("TextButton", frame)
close.Size = UDim2.new(0, 30, 0, 30)
close.Position = UDim2.new(1, -40, 0, 12)
close.Text = "X"
close.BackgroundColor3 = Color3.fromRGB(45, 40, 60)
close.TextColor3 = Color3.fromRGB(255, 255, 255)
close.Font = Enum.Font.GothamBold
close.TextSize = 14
Instance.new("UICorner", close).CornerRadius = UDim.new(0, 8)
close.MouseButton1Click:Connect(function() gui:Destroy() end)

local searchBox = Instance.new("TextBox", frame)
searchBox.Size = UDim2.new(1, -28, 0, 34)
searchBox.Position = UDim2.new(0, 14, 0, 52)
searchBox.PlaceholderText = "Search scripts…"
searchBox.Text = ""
searchBox.BackgroundColor3 = Color3.fromRGB(30, 26, 45)
searchBox.TextColor3 = Color3.fromRGB(240, 240, 255)
searchBox.Font = Enum.Font.Gotham
searchBox.TextSize = 14
searchBox.ClearTextOnFocus = false
Instance.new("UICorner", searchBox).CornerRadius = UDim.new(0, 8)

local scroll = Instance.new("ScrollingFrame", frame)
scroll.Size = UDim2.new(1, -28, 1, -110)
scroll.Position = UDim2.new(0, 14, 0, 96)
scroll.BackgroundTransparency = 1
scroll.ScrollBarThickness = 4
scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y

local list = Instance.new("UIListLayout", scroll)
list.Padding = UDim.new(0, 6)

local function render(scripts)
    for _, c in ipairs(scroll:GetChildren()) do
        if c:IsA("Frame") then c:Destroy() end
    end
    for _, s in ipairs(scripts) do
        local row = Instance.new("Frame", scroll)
        row.Size = UDim2.new(1, 0, 0, 62)
        row.BackgroundColor3 = Color3.fromRGB(28, 24, 42)
        Instance.new("UICorner", row).CornerRadius = UDim.new(0, 10)

        local t = Instance.new("TextLabel", row)
        t.Size = UDim2.new(1, -100, 0, 20)
        t.Position = UDim2.new(0, 12, 0, 8)
        t.BackgroundTransparency = 1
        t.Text = s.title or "Untitled"
        t.TextColor3 = Color3.fromRGB(240, 240, 255)
        t.Font = Enum.Font.GothamBold
        t.TextSize = 13
        t.TextXAlignment = Enum.TextXAlignment.Left
        t.TextTruncate = Enum.TextTruncate.AtEnd

        local g = Instance.new("TextLabel", row)
        g.Size = UDim2.new(1, -100, 0, 16)
        g.Position = UDim2.new(0, 12, 0, 30)
        g.BackgroundTransparency = 1
        g.Text = s.game or ""
        g.TextColor3 = Color3.fromRGB(160, 160, 190)
        g.Font = Enum.Font.Gotham
        g.TextSize = 11
        g.TextXAlignment = Enum.TextXAlignment.Left

        local btn = Instance.new("TextButton", row)
        btn.Size = UDim2.new(0, 78, 0, 30)
        btn.Position = UDim2.new(1, -88, 0.5, -15)
        btn.BackgroundColor3 = Color3.fromRGB(139, 92, 246)
        btn.Text = "Execute"
        btn.TextColor3 = Color3.fromRGB(255, 255, 255)
        btn.Font = Enum.Font.GothamBold
        btn.TextSize = 12
        Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
        btn.MouseButton1Click:Connect(function()
            local code = s.code
            if not code or #code == 0 then return end
            pcall(function()
                if code:match("^loadstring") then
                    loadstring(code)()
                else
                    loadstring(code)()
                end
            end)
        end)
    end
end

render(fetchScripts(""))

searchBox.FocusLost:Connect(function()
    render(fetchScripts(searchBox.Text))
end)

Public API

https://your-app.lovable.app/api/executor/scripts?source=scriptblox&q=YOUR_QUERY

Returns { success, count, scripts: [{ title, game, code }] }.

Compatible executors

Wave, Codex, Synapse Z, Delta, Solara, and anything supporting game:HttpGet + loadstring.