What is the Best way to Handling GUI by using script

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    To framing the game structure, I want to know what is the best way to controll Player GUI.

  2. What is the issue? Include screenshots / videos if possible!
    I used to write local script and placed it inside Gui Instance directly. Recently I studied OOP and I start apply to my game. Other scripts (ex. sever Handler or spawn Car etc…) turn into modules so it highly optimizes and boost performance. But in Gui Handler I’m not sure rewrite local script to module script is better.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    image
    ↑ Method which I using right now
    image
    ↑ Method that I’m going to change