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

how would i add a variable to a text string?

Asked by 3 years ago

Im trying to add a variable to a text string but i cant find a way how to?

0
what do you mean TheKakYTArmy 125 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

try this: this is an example for a gui text

local variable = 56 --an example

script.Parent.Text = "I am "..variable.." years old"
Ad

Answer this question