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

How to change a Name from two variables?

Asked by 4 years ago

So I made something that randomly generated names.

I have two variables. FirstName and Lastname. I want to generate the name of the model Both of them combined. So like Andrew Smith. Although it comes out as FirstName LastName. Does anyone know how to do this? Thanks!

1
concatenate them both with a whitespace with FN.." "..LN theking48989987 2147 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
local FirstName = "Andrew"
local Lastname = "Smith"

print(FirstName.." "..Lastname)
0
Thank you so much! Aeroporia 37 — 4y
Ad

Answer this question