How to concatenate this

print("Enter on the "..player.Team.." team")

how would I go about concatenating this? I am incapable of doing this kind of stuff with strings i guess.

I do not know if this is the best way, but it is definitely one
image
just use

tostring()

It will convert the brick color to a string.

Also if it is just for printing you can also do this:

print("Enter on the", player.Team, "team")

You need to do player.Team.Name

1 Like

wow thats embarassing
thank you very much

Mark my solution. Aslo you can do team.TeamColor if you want the color

In that case you should use Player.TeamColor.Name.

1 Like

Just saying its a better practice to use :format() or string.format()

print(string.format("Enter on the %s team", player.Team.Name))
1 Like