I am trying to make my GUI close after a certain amount of time but it's not working. Here is my code so far.
wait(3)
game.StarterGui.ScreenGui:destroy()
I have it in the StarterGui and the script is parented to the ScreenGUI inside the StarterGui.

2 comments
Can you give me a screenshot of your Studio Explorer, the problem is, you're calling on StarterGui not PlayerGui
Their you go. https://gyazo.com/f343bb21822402e3a598a8140935d962