
933 Views
13 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
...
--!optimize
local function insert_string(tbl: {}, text: string)
table.insert(tbl, text)
end
local function callback(t: string? | number | Instance, f, fallback: any?)
if type(f) == t then return f end
return fallback
end
local cloneref = callback("function", cloneref, function(service)
return service
end)
-- * DEBUGGING
-- * SOME EXIT CODES WEREN'T ADDED BECAUSE THERE NOT APART OF THE ROBLOX LUA ENVIORMENT
-- * These are here for us to check for any errors
local EXIT_CODES, CODES = {
["0"] = "success",
["1"] = "failed",
["3"] = "syntax",
["4"] = "memory"
}, {
success = " 💥",
errorr = " 😔"
}
local supportme = "https://buymeacoffee.com/dabsteprbxf"
local function patch(code: string, modifier: (string) -> string)
-- use modifier to change up "code"
-- useful at times
local monkeypatch = code:gsub([["(.-)"]], function(a)
local m = modifier(a)
return string.format("%q", m)
end)
local patchSuccess, patchResult = pcall(loadstring, monkeypatch)
if not patchSuccess then
return
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








