I used to work at Roblox and I confirm the layers upon layers of knowledge in code.
And the stuff doesn’t end there. Nowadays they also have their own Lua-derivative language forked from Lua 5.1 (https://luau-lang.org/) with many improvements like static typing, performance, and sandboxing. And their renderer seems to work smoothly on low-end computers too, they've probably done lots of optimizations over the years.