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

It won't concatenate the values together into a text label?

So I have a part that when has something touching it, puts some data of the thing onto a text label but it prints this message.

16:15:10.677 - Players.TheArcticTerminal.Backpack.Info Tool.Screen.SurfaceGui.Frame.Script:7: attempt to concatenate field 'BrickColor' (a userdata value)

Here is my script.

WM.Text = ("Material:".. hit.Material .. "Transparency:".. hit.Transparency.. "Color".. hit.BrickColor)
	print("Material:".. hit.Material .. "Transparency:".. hit.Transparency.. "Color".. hit.BrickColor)

1 answer

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