(Not removing the GUI by clicking on it)
I'm a programmer who usually scripts in Python, and I'm trying to teach myself how to script Lua so that I can start work on making ROBLOX games. I've been fiddling around with GUI's and I put this in.
wait (20)
game.startergui.ScreenGui:Remove()
I've also done a few variations of that code and things similar, and yet it still does not work too good. Anyone know what I may be doing wrong?

4 comments
Change :Remove with :Destroy
game.startergui.ScreenGui:Destroy()
Edited
time = 50