Apparently this doesn't work, as I tested it on a brand-new account to see if it worked at all. btw: "convertspecials" sets the olddata value to 1 after some other stuff.
local olddata = game:GetService("DataStoreService"):GetDataStore("Pokemon"):GetAsync("user_"..newPlayer.userId.."_Pokemon")
if (olddata ~= nil and olddata ~= "1") then
convertspecials(olddata,newPlayer)
end
|