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

How to destroy a GUI after someone sees it?

local Message1 = game.StarterGui.Message.EnterMessage

function destroy()
	
end

I know that's not much but I need help. For example, when a player joins the game, it waits for example 30 seconds and then disappears.

1 answer

✓ Accepted answer
local Message1 = game.StarterGui.Message.EnterMessage
wait(30)
Message1:Destroy()

-- or

local Message1 = game.StarterGui.Message.EnterMessage
wait(30)
Message1:remove()

-- or

local Message1 = game.StarterGui.Message.EnterMessage
wait(30)
Message1.BackgroundTransparency = 1

-- If there is a Text, make the text blank after the 30 seconds and BackgroundTransparency.

2 comments

0

you. should. not. edit. the. starter. gui. edit. the. players. gui

0

It's not working, where do I find the PlayerGuy

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