GetAsync is not a valid member of IntValue "Players.PlayerName.leaderstats.Loyalty"

Greetings, fellow devs. I’ve got this problem with synchronising data from leaderboard. The script itself worked like 2 years ago, but now it’s broken. I don’t know what to do with it, if anyone can help me, then it would be very appreciated. There error is in line 11. Heres the code:
image

okay first of all the error literally tells you what’s wrong so I don’t know why you would need to ask for help on the devforum.
second of all what sort of witchcraft did you use 2 years ago because this never would have worked 2 years ago.
third of all its erroring because you did WorkPoints:GetAsync instead of the actual datastore.

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