PDATA Not Saving

PData resets after a server restarts. Here’s the relevant portion of the code.

for k, v in pairs(player.GetAll()) do
    v:SetPData("classunlocked", 1)

Any ideas?

Does PData work on listen servers? See if the error persists on a dedicated server if you haven’t already.

It is a dedicated server. Not mine, but a client is having issues with some code I sold him.

Currently testing on my server

Edit: Works on my server. Not going to troubleshoot his stuff, if his server is bad there’s nothing I can do to help him.