Ok, use this for detouring instead of what your doing, you just pasted what the guy originally said to you, thats not what detouring is, use this, I just made it.
Code:
// Detour Some stuff by da senators
local unpack = unpack;
local next = next;
local Color = Color;
local MsgC = MsgC;
local hook = hook;
local debug = hook;
local jit = jit;
local Detours = {};
MsgC(Color(255,255,255,255), "Detouring Functions...");
Detours[debug] = {};
Detours[string] = {};
Detours[jit] = {};
Detours[debug]["getfenv"] = true;
Detours[debug]["gethook"] = true;
Detours[debug]["getinfo"] = true;
Detours[debug]["getlocal"] = true;
Detours[debug]["getmetatable"] = true;
Detours[debug]["getregistry"] = true;
Detours[debug]["getupvalue"] = true;
Detours[debug]["setfenv"] = true;
Detours[debug]["sethook"] = true;
Detours[debug]["setlocal"] = true;
Detours[debug]["setmetatable"] = true;
Detours[debug]["setupvalue"] = true;
Detours[debug]["upvalueid"] = true;
Detours[debug]["upvaluejoin"] = true;
Detours[string]["dump"] = true;
Detours[jit]["attach"] = true;
for k,v in next, Detours do
k[v] = function(...) return true; end
end
MsgC(Color(0,255,0,255), "Done!\n", Color(255,255,255,255));
Output: prntscr .com/9yegf7