I have a screen GUI with a text box and it won't close with this script: [AS IN IT DOES NOT WORK]
1 player = script.Parent.Parent
2
3 wait(5)
4 player.PlayerGui.GUI1.Frame.Visible = false
5 player.PlayerGui.GUI2.Frame.Visible = true
That won't close the screengui with the textbox.

1 comment
Why do you need to use the player's playergui if the script is already in the player's gui?