How can I add more words into a written sentence?

I don’t really know how to call this, but this is what I mean.
I made a script that writes a localscript account age.
I’m not an expert at scripting I just started 4 weeks ago.
I want the script to add the accountAge after the collon mark, instead of it just removing the whole text and writing the age.


Here’s the script:

 local text = script.Parent
 local age = game:GetService("Players").LocalPlayer.AccountAge

 text.Text = age

help’d help alot thanks!

You could use concatenation with “…”

text.Text = "Age: "..age --Joining age variable to "Age: "
2 Likes

Was just about to type that ahaa.

But yes, this.

1 Like

Thanks! didn’t know it’d be that simple!