Transfer script information from one to another
Hello, fellow developers. I have one critical question that if its answer is true, it’ll change the way I am working in Roblox Studio.
What do I want to achieve?
A way to make the scripts communicate with each other.
What is the issue? The only way I know it thru _Gs, but if they are too many global variables the program cancels itself.
What solutions have you tried so far? Asked a few times on Discord. Someone mentioned ModuleScript, but I am not sure they will solve my dilemma.
For example, when my character steps on a block I want to make a type of message and the whole script in the game cloud sees it and potentially changes something.
I need a practical _G replacement.
Thanks in advance