I've been trying to make a matchmaking gui, and to do some debugging, I've been using the developer console, however, when I run print(game.Players.Dog2puppy.PlayerGui.ScreenGui.Frame.FindGameFrame.Id.Value) it returns ScreenGui is not a valid member of PlayerGui. Id is a StringValue containing a MongoDB document value.
COMMUNITY QUESTION
`ScreenGui is not a valid member of PlayerGui` error?
1 answer
If you are doing this from a serverscript, then it won't work. You can either use a localscript or a RemoteEvent.
More about RemoteEvent: https://www.robloxdev.com/api-reference/class/RemoteEvent
Hope this helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
If your game is FE, the server can't access the descendants of each clients' gui.
Thanks! Didn't know this was a thing.