Title.
I did wait (9.5 seconds)
But it didn't worked.
By 'remove' it, I'm guessing you mean just for the player to not see it.
You can hide a GUI element by altering a property called 'Visible'.
script.Parent.Visible = false wait(9.5) script.Parent.Visible = true
Assuming your script was inside the element you wanted to hide. ^
However, to hide a ScreenGUI, there is no Visible property. It's equivalent is 'Enabled'
script.Parent.Enabled = false wait(9.5) script.Parent.Enabled = true
Assuming your script was inside the ScreenGui you wanted to hide. ^
Scripting does not know the human language. Therefore, you cannot do wait(9.5 seconds)
. See how waits work here. For the frame disappearing, you can use the Visible
property. Accept if this helps!