Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make my gui close when it has been 5 seconds?

im dumb.

Anyways I'd want that every time i open my gui the gui closes in 5 seconds. bye

1 comment

0

god please spare me i have a lot of strokes reading this

1 answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.