I was wondering if there was a way to make a global table accessible by all objects .lua files, I get that it may be possible hence the StardustLib but i'm not exactly sure how to implement it
I'm not sure what exactly you are trying to achieve by that. Every scripted entity has its own environment (_ENV) but they can send messages through the engine - specifically the messaging system. Well you could also read/write to world properties too. Global is the scope within that _ENV, but it doesn't refer to anything all entities can access.