How to set a new game State?

Hi again, can you guys help me set the game state in game?
It’s not firing the begin game estate construction script.

Thanks

Nevermind, i have just read the description of the game state
here.

Instead, i’ve only made a Function that did the trick.