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

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

Asked by 3 years ago

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

wait (5) screen:destroy ()

pls don't laugh i never learned scripting

0
capitalise the D Killerbot712 47 — 3y
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  MrAspuru 0 — 3y

2 answers

Log in to vote
0
Answered by
Komas19 34
3 years ago

You need to put it like this

wait(5)
screen:Destroy()
Ad
Log in to vote
0
Answered by
MattVSNNL 620 Moderation Voter
3 years ago
Edited 3 years ago

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

Answer this question