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

Not sure what to call this?

If i like want text to be a value and then poop and then another value, how would i do that?

script.Parent.Text = ..Player.Name " Poop" .. Player.userId

2 answers

✓ Accepted answer

You almost had it. Try this.

script.Parent.Text =  Player.Name.. "Poop" ..Player.userId

4 comments

0

Ah, you beat me to it

0

Ha, sorry. At least you gave an explanation. I assumed he knew about this and also I was on my phone.

0

Don't be sorry lol. He can accept your answer, I'll just leave mine up, incase he doesn't know

0

Oh, i see :D

Well, what you're using is reffered to as Concatenation. It's used to put more than one string together, in one string. It's signaled by .., as you already know. The problem with your line is that you for got .. after Player.Name. Here is your fixed code:

script.Parent.Text = ..Player.Name.. " Poop" .. Player.userId

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