How do I create a string of code that calls for the StarterGui?

How do I create a variable that calls for the StarterGui? Or what IS the term for the startergui?

I have this string of code to take a button off my screen. My variable for it is:
local Button = script.Parent (and this works)

Button.Visible = false

To trigger my frame instead of my button, I know i need a line of code like this:

game.StarterGui.ScreenGui.Frame.Visible = false

However this doesn’t work, and I am guessing because StarterGUI is not the correct formatting…
so what is?

The GUI that you see in game is the PlayerGUI, The StarterGUi is stored on the Server and is cloned as players join the game.

So what is the correct variable in my string of code for the StarterGUI

game:GetService("StarterGui")

ohhhhh @Wizard101fire90 Wizard101fire90 just told you
if you want to edit a players gui you need to use a local script and go from the player