Ok so in my place, I use the old data store to save Kills, Deaths, XP, etc... But sometimes I lose all my data for some reason, and I don't even know why, so I want to use the new data store. But the thing is, I'm not very familiar with the new data store, and the wiki website doesn't explain it very well to me, so I was wondering if someone else could explain it for me. For example, how would I transfer this:
--Somewhere in one script...
Player:SaveNumber("KillCount",Kills)
Player:SaveNumber("DeathCount",Deaths)
Player:SaveNumber("XP",PlayerXP)
--Somewhere in another script...
local Kills = Player:LoadNumber("KillCount")
local Deaths = Player:LoadNumber("DeathCount")
local XP = Player:LoadNumber("XP")
to the new data store?

1 comment
Thanks! It really helped