
9.5k Views
65 Executions
Web execution
Universal Script 📌
UnnesscaryInventions1M views
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Allows anyone to run scripts on your executor or client like a public executor you can use this too so you can run scripts via web Web : https://iknoxteam.pythonanywhere.com/executionremote Known errors : might say failed to send code (because your code is broken or is like invalid, dosent go away so like just check the roblox console if the code received is invalid or syntax error or some undefined values) Might try to make web execution not public (needs a code given by the script to be inputted to the website so like a verifying key) so you can use it without being iplogged
local apiURL = "https://iknoxteam.pythonanywhere.com/api"
local lastCodeID = nil
local function pingAPI()
local success, result = pcall(function()
return game:HttpGet(apiURL)
end)
if success then
local jsonData = game:GetService("HttpService"):JSONDecode(result)
if #jsonData >= 2 then
local codeID = jsonData[1]
local codeToRun = jsonData[2]
if codeID ~= lastCodeID then
lastCodeID = codeID
local function isValidCode(code)
local func, err = loadstring(code)
if not func then
return false, err
end
return true
end
local isValid, errorMessage = isValidCode(codeToRun)
if isValid then
local successLoad, loadError = pcall(function()
print("[WEB]: Code received executed!")
loadstring(codeToRun)()
end)
if not successLoad then
print("[WEB]: Error executing received code: " .. loadError)
end
else
warn("[WEB]: Invalid Lua code received: " .. errorMessage)
end
end
else
warn("[WEB]: Invalid JSON format received.")
end
else
warn("Failed to fetch API: " .. tostring(result))
end
end









Ofc made by me and insipred by bat