How do I make lua not check does the table exist first and go to the index?

This is specific to vanilla Lua 5.3 but I want this on Roblox lua too, as lua checks does the index first exist in tables, is it possible to override this, so that metatables won’t check does the table in the index exist?

local mt = {  };

function mt.__index(self, index)
    if index == "oops" then
        error("Oops!");
    end;
end;

function new(val)
    return setmetatable({ oops = 'oops'; value = val; }, mt);
end;

local a = new(2);
print(a.oops);

Like so it’ll return
image

instead of
image

hmm… i looked at what __index do, and from what i see, __index only work if key dont exist in table. but it exist in your table. so i search and i found this lua page that helps you figure out how to detect when you check for a key even if it already exist: Programming in Lua : 13.4.4