the title explains it well but to reiterate I'm trying to access a folder that is named after a player but I have no clue how to do that here's what code that I have:
1 | game.Players.PlayerAdded:Connect( function (player) |
2 | Instance.new( 'Folder' ,workspace) |
3 | workspace.Folder.Name = player.name |
4 |
5 | local folder = workspace.. player.Name |
6 |
7 | Instance.new( 'NumberValue' ,folder) |
8 | end ) |
You'd do local folder = game.Workspace:FindFirstChild(player.Name)
.