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 Gui Play Once?

I'm trying to make a Gui Intro that will always play once but not again when you reset. Kinda like clonetrooper1019's intro when he only puts it up once then it's gone. How do I do that that? Here's my first attempt of myself trying in a local script inside a StarterPack Folder:

local Gui = game.Lighting.ScreenGui

wait(1)
Gui:clone().Parent = game.Players.LocalPlayer.PlayerGui
wait()
print("loaded!")

The problem is how do I make the Gui go gone when you reset.

1 answer

Normal script in Workspace or the scriptservice.

local Gui = game.Lighting.ScreenGui

game.Players.PlayerAdded:connect(function(plr)
Gui:clone().Parent = plr:WaitForChild("PlayerGui")
end)

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