Currently I am using the GoodSignal module instead of BindableEvents to communicate between ModuleScripts. I make new signals in a utility module that other ModuleScripts can require.
I use ModuleScripts to split my code so it is easier to manage aspects of the game, they are all required and initialized/started by a main script (different versions for server and client). I don’t plan to add classes yet.
However I realized that I will need something like a BindableFunction (I need to get the value of a variable from another ModuleScript), which I am not sure if GoodSignal is the right tool.
My point being, should I have used GoodSignal to begin with? It won’t be hard to switch back to BindableEvents/Functions with my current code.
Can’t you just require the module script inside of another module script? This should always work as long as you make sure it doesn’t lead to a module script requiring itself.
I also have no idea what “goodsignals” are, so apologies if this is insanely stupid for what you were asking
I tried that system before, but it kinda gets messy after some point. Pretty sure the module scripts would have to be required/initialized/started in a specific order (which I did before). I rather connect functions with events than deal with that.