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

Workspace.Script:4: attempt to concatenate local 'plr' (a userdata value)?


local player = game:GetService("Players")
player.PlayerAdded:connect(function(plr)
	print("Welcome!"..plr)
end)~~~~~~~~~~~~~~~~~
**
there is a eror that pops out

1 comment

0

XD this is the 87654th question :V

1 answer

✓ Accepted answer

Player is the player object inside players. You can see it yourself in the explorer when you hit play.

You're going to want to print out the players name, not the object.

print(plr.Name)

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