game.Players.PlayerAdded:Connect(function(player)
clonegui.Frame.Name.Text = (" "..player.Name)
end)
This is the error: ServerScriptService.Script:2: attempt to index field 'Name' (a string value)
game.Players.PlayerAdded:Connect(function(player)
clonegui.Frame.Name.Text = (" "..player.Name)
end)
This is the error: ServerScriptService.Script:2: attempt to index field 'Name' (a string value)
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
I think you might be trying to access a children of the Frame, but the script is thinking you're trying to use the Name property, try renaming the child of Frame to something else so it goes like "clonegui.Frame.[new name].Text" instead
yeah just remove the .Name
if you need me to be more detailed, i can write an actual answer instead
No you're right I understand. Thanks it's fixed now.