x = game.Workspace.Testings.Mesh
local message = Instance.new('Message', game.Workspace) -- Insert a new message in the Workspace.
message.Text = (x) -- Set the text of the message to "Hello World!".
wait(10)
message:Destroy() -- Remove the message after 10 seconds.
✓ ANSWER ACCEPTED
Print won't print the name of an Instance?
1 answer
✓ Accepted answer
As TheDeadlyPanther said, you can either change it to "message.Text = x.Name" or "message.Text = tostring(x)"
If I have helped or answered your question please remember to accept the answer, and if not then please message me or comment what I could have done better!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Use
x.Nameortostring(x), don't bother with brackets.