Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am getting an error for changing a Text GUI to a players name. Why?

Asked by 4 years ago
clonegui.Frame.Name.Text = (player:GetRoleInGroup(armylink).." "..player.Name)

The error is: ServerScriptService.Script:11: attempt to index field 'Name' (a string value)

Answer this question