My datasave was erased last night please help [script of my datasave]

I think that by publishing this post I understood where there is a problem that I just corrected it was at this line

for i, creature in pairs(plr:WaitForChild("Creatures1"):GetChildren()) do

my folder is Creatures and not Creatures1 so…

But if someone can confirm me, that apart from this detail, the rest of the script seems good?
`

This should help your problem using DataStore2 is an api that prevents data loss

1 Like