Ok so I'm making a game called Trivia Mania. I made a few GUIs for it to make it look more professional. The problem is I can't get one of my GUIs to show up. It's called Introframe. It's supposed to show up for a few seconds then it disappears. Here's the script:
game.StarterGUI.TrivManGUI.Ruleframe.Visible = false
game.StarterGUI.TrivManGUI.Htpframe.Visible = false
game.StarterGUI.TrivManGUI.Introframe.Visible = true -- This is the GUI I'm talking about.
game.StarterGUI.TrivManGUI.Introframe.TextBox.Text = "Welcome to Trivia Mania!"
wait(2.5)
game.StarterGUI.TrivManGUI.Introframe.TextBox.Text = "Now loading..."
wait(5)
game.StarterGUI.TrivManGUI.Introframe.Visible = false -- The Introframe disappears here.
game.StarterGUI.TrivManGUI.Ruleframe.Visible = true
game.StarterGUI.TrivManGUI.Htpframe.Visible = true
See what I mean? Ok. My question is, where did I go wrong? And for your information, I'm using a regular script, not a Module or Local script.

2 comments
Are you saying to put it into the PlayerGUI? Speaking of PlayerGUIs, where is the PlayerGUI?
@VCRayGamma I'm saying to put the script into the Screen Gui. Player Gui can only be seen in a server. In studio, you can click the test tab, then hit play. Look into the Player, and you'll see PlayerGui