Issue with DataStore2

While using DataStore2, I always get this error.

ServerScriptService.DataStore2:485: DataStore2() API call expected {string dataStoreName, Player player}, got {string, nil}
Anybody know how to fix this?

please show your datastore’s script

Nevermind, I’m stupid.
It was because I assigned the player variable wrong.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.