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

How to make a in game text appear, later on disappear?

Explanation: When a player is playing, a text will appear in a few seconds and then later on disappear.

What I'm trying to make with it: I'm trying to make a Visual story game with some texts appearing on screen to make it look like the character is talking and I'm also trying to make a cutscene with the game title and creator name. If you have an answer, can you explain it very clear? I don't know much when it comes to coding.

READ: Sorry guys, I don't know anything about scripting and I can't make much time to learn the basics because of online school. So I was hoping for a straight answer so I can work on my game faster.

1 comment

0

.Visible, .Text = "", literally all u need to know.

2 answers

✓ Accepted answer

For the title of the game all you would need to do is

wait(x) -- x being the time you would wait for it to dissapear
script.Parent.Visible = false -- script parent being the frame

Your question is pretty broad, I suggest watching tutorials on the basics. If this helped please click accept! Any other questions feel free to ask just try to be specific.

6 comments

0

Yeah, I know I could have watched some basics of coding, but I didn't since I can't make much time for myself because of online school. I'm planning in learning it on Christmas break, but right now I just want a straight answer.

0

Okay, so I inserted a ScreenGui in StarterGui then I putted a text label in ScreenGui after that I place a script inside the ScreenGui. Is this how it works? I don't think I'm doing it right since the script isn't working. Can you tell me where to put each thing? Sorry.

0

You need to put the frame in the screen gui, then put the localscript in said frame.

0

Okay, thanks it worked! If you don't mind me asking how can I make the text appear in a few seconds?

1

Oh wait nvm, I already figured out what to add into the script by looking at what you putted. Thanks again! I actually learnt a few things about scripting with your script.

0

Oh awesome, glad you did!

So Im expecting that you already have the gui set up, sooo:

local Button = script.Parent
wait(xxx)

Button.Transparency = 1

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