local Table1 = { }
game.Players.PlayerAdded:connect(function(player)
Table1[player] = { }
end)
or
--In ModuleScript
local Table1 = { }
return Table1
The reason I ask this is because the for loop I'm using doesn't recognize the tables in both of those ways, I can't think of a different way to create a table specifically for the player, without using their ID which doesn't work:
local player.userId = { } --Expected identifier got, '.'
If it is possible how so?

3 comments
Make a different table for each player in the table itself.
Also consider using datastores.
Is that not what I have in option 1, a table for each player in a table? Also, I don't really want to use datastore because it's only a temporary thing, I'm OK with it being deleted after the player leaves.