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

I want to make a text label disappear after a short time, how?

I tried using this really simple script, but didn't work

wait (5) screen:destroy ()

pls don't laugh i never learned scripting

2 comments

0

capitalise the D

0

local gui_visibility = game.workspace.startergui.screengui.textlable.visibilitywait (5)   gui_visibility = false something like this depends on how things are set up but yeah 

2 answers

You need to put it like this

wait(5)
screen:Destroy()

Destroy means it will never come back on it will permanently be deleted try using visible

local screen = script.Parent.ScreenGui.TextLabel -- Define it as the location of your screen gui textlabel

wait(5)
screen.Visible = false

It's also ok that you don't know to script it takes a bit to learn :)

I'd recommend watching AlvinBlox so that you can learn to script

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