So , I created script that use datastore but the thing is the datastore is the same for everyone, what I mean is everyone player gets the same value I even checked if it was really doing :GetAsync(player)
:GetAsync(player)
doesn’t make sense, it implies you’re trying to use the player instance itself as the key. Did you mean :GetAsync(player.UserId)
? We also cannot help much without seeing your code.
1 Like
No I didn’t do .UserId what do you mean by that is that the problem ?
:GetAsync
, :SetAsync
, etc require a key, and an instance cannot be used as the key.
Change your code so that instead of doing :GetAsync(player)
, you’re doing :GetAsync(player.UserId)
.
1 Like