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 a frame go away after it's been viewed once?

game.Players.PlayerAdded:connect(function(plr)
        wait(24)
        plr.PlayerGui.ScreenGui.Intro:Destroy()
end)

is what I tried, any ideas?

1 comment

0

What exactly is happening that shouldn't?

1 answer

Admins: I was streaming while this guy asked me the question. I explained it to on twitch, and posted the code for him to have here. Hope you understand!

game.Players.PlayerAdded:connect(function(plr)
        a = game.ServerStorage.Intro:Clone()
	a.Parent = plr.PlayerGui.ScreenGui
	wait(24)
        plr.PlayerGui.ScreenGui.Intro:Destroy()
end)

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