im dumb.
Anyways I'd want that every time i open my gui the gui closes in 5 seconds. bye
If you open it using a button then:
button.MouseButtton1Click:Connect(function() wait(5) gui.Enabled = false --or gui.Visible if it's not a screen gui. end)