NativeTable = {
    ["print"] = {},
    ["LoadResourceFile"] = {}
}
for k, v in pairs(NativeTable) do
    k = function(...)
        print("test")
    end
end
this would result in defining them in the NativeTable and not as a global function
print = function(...)
    print("test")
end
LoadResourceFile = function(...)
    print("test")
end
So I'm trying to define a global function with a table name
Guess i could do smth like this But there must be a better way?
NativeTable = {
    ["test"] = {},
    ["LoadResourceFile"] = {}
}
local function OverWriteFunction(FuncName, Func)
    local Base = [[ = function(...)
    print("jaa")
end
    ]]
    local Final = FuncName .. Base
    return Final
end
for k, v in pairs(NativeTable) do
    load(OverWriteFunction(k))()
end