Attempt to index string with 'Value' (Help)

Hwy everyone I’m trying to make a script that takes cares of keeping track of my player data and I keep seeing this error " Players.epicrobot20092.PlayerScripts.DataScript:11: attempt to index string with ‘Value’ " and i don’t know how to fix it here is a screenshot:

1 Like

This

Playername.Name.Value = player.Name

To this

Playername.Value = player.Name
2 Likes