Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to destroy a GUI after someone sees it?

Asked by 7 years ago
Edited 7 years ago
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

Log in to vote
0
Answered by
TheePBHST 154
7 years ago
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.

0
you. should. not. edit. the. starter. gui. edit. the. players. gui DeveloperSolo 370 — 7y
0
It's not working, where do I find the PlayerGuy ArcanZus 61 — 7y
Ad

Answer this question