I am a developing creator and am actively trying to break away from local and server scripts and into the reusable module scripts.
I want to use GUI in my games along with these module scripts but when i run one of my module scripts from outside of starter GUI (for example in starter player scripts or replicated storage) any actions with starter GUI is ignored (only works when the scrip is inside of starter gui). I am assuming i should be grabbing the GUI that i put into starter gui from the player but i do not know how to do that while keeping my module scripts within replicated storage.
I want to be able to learn to use a more flexible style of developing so if anyone has or knows a solution it would be very appreciated.