Thanks for SerpentineKing and kingdom5 for the comments, but my question is still not solved.
@SerpentineKing : how do i get the 'player object' argument? @kingdom5 : If I only use LocalScripts only on the client side, will the GUI open for a players?

4 comments
Localscripts are client only. Yes it will show all clients the contents of PlayerGui.
Don't direct your questions toward people. It's called attempted rep manipulation.
S_H1234 you should be doing your own testing to see how things work. It it common for developers to put a gui in rep storage and clone it when needed.
Please update your question so that others can help you.