[SOLVED] Position gui1 inside gui2 to the middle using gui2 position

Referencing gui1 as the children of gui2, I want to set the position of gui2 to a position where gui1 is in the middle of the screen, like this video:

Don’t mind on replying, this post is old.

As this is scripting support would you please have a go at trying this yourself and show us your script so we can help you more.