How to properly save player data in data stores upon server close

Hi so I recently made a post about my Data not saving corretly and as of now I can’t develop right now but I can use the Forum. So usually what I do is do a « prepare » script where basically I make lines of codes and ask if they are correct before I use them.

So here’s what I did: