This code isn't working:
if key_code == 13 then
game.Players.PlayerAdded:connect(function(Player)
game.Workspace.Billboard.Screen.Front.Label1.Text = Player.Name.." pressed the button"
end)
I'm getting this error: "attempt to index field 'Name' (a string value)"
I'm pretty sure this code is really messed up but I just want it to say "[Player name] pressed the button" when a player presses key code 13.

3 comments
Is this ALL your code?
No, there is some other code. This is just the portion that's giving me the error.
At least post the KeyDown event connect and stuff.