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
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
You almost had it. Try this.
script.Parent.Text = Player.Name.. "Poop" ..Player.userId
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.
4 comments
Ah, you beat me to it
Ha, sorry. At least you gave an explanation. I assumed he knew about this and also I was on my phone.
Don't be sorry lol. He can accept your answer, I'll just leave mine up, incase he doesn't know
Oh, i see :D