Basically what I am trying to do here is just to make a simple TextLabel say "NightWatch Tactical Agent " and there name but it WONT WORK.
1 | local AgentTag = script.Parent [ "Agent name" ] |
2 |
3 | game.Players.PlayerAdded:connect( function (plr) |
4 | AgentTag.Text = "NightWatch Tactical Agent " ..plr.name |
5 | end ) |
On line 4 you forgot to put parentheses around what the text should be. So instead of being "AgentTag.Text = "NightWatch Tactical Agent "..plr.name", it should be "AgentTag.Text = ("NightWatch Tactical Agent "..plr.Name)"