KEMBAR78
Medal Decompiler API | PDF
0% found this document useful (0 votes)
2K views1 page

Medal Decompiler API

Uploaded by

ajcronk05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views1 page

Medal Decompiler API

Uploaded by

ajcronk05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

local API = "https://decompiler.ashore.

rip/";

local Decompile = function(Script)


local ScriptBytecode = getscriptbytecode(Script);

if ScriptBytecode then
local Output = request({
Url = `{API}decompile`;
Method = "POST";
Body = ScriptBytecode;
});

if Output.StatusCode == 200 then


return Output.Body;
end;

return `Failed to decompile bytecode\n{ScriptBytecode}`;


end;
end;

getgenv().decompile = Decompile;

You might also like