So basically I’m trying to access a metatables from different scripts and I’d like to know if there’s a proper way of doing so.
I’ve tried using BindableFunctions, but after losing quite a few hair when trying to figure out what wasn’t working with my code and doing some search on the devforum, I figured out that “BindableFunctions can’t pass back any sort of self-referential table” on this post : Cannot access metatable through BindableFunction
No, don’t do that. Instead use a module script. You should never use globals or _G or shared. Use of globals is bad practice, it makes your code messy. There was just a discussion about this which you should check out.
Oh I just did a test, I had the idea that modulescripts run the code each time required. I suppose I was incorrect in that matter, I’ve learned something new thx