Leaderstats script doesnt work

You defined it as Datastore:

However, you use DataStore:

Capitalisation really matters, especially with variables.


FYI: You should be pcalling those Datastore methods, they have a high tendancy to error and Players can lose data due to it. Here’s a good tutorial by ReturnedTrue (whoever that is) on pcalls:

1 Like