so basically, im trying to make a title sequence and when you step on the brick, the title of the game will appear (I have that done already). The thing I need help with is making it only stay on the screen for like 5 seconds then get destroyed never to be seen again (even after youve died and re-spawned).
This is the script I have so far:
local Part = script.Parent
Part.Touched:connect(function(HIT)
local H = HIT.Parent:FindFirstChild("Humanoid")
if H then
local Player = game.Players:GetPlayerFromCharacter(HIT.Parent)
Player.PlayerGui.TitleSequence.Frame.Visible = true
end
end)
I have never used this before so sorry if i asked the question wrong or something

1 comment
wow tysm i never actually thought anyone would answer my question...