Over the past few days I've been trying to get this script to work but it just won't. I get no errors. It just prints my player name after it says "____ Disconnect from ____". Also another thing to know is that it saved my data at first then wouldn't overwrite it. I put a new thing in there for it to save and it did, but then wouldn't overwrite it. I put the script on this link below. Because it takes forever to input a script with StackEdit. https://pastebin.com/g6fc7Ttc
COMMUNITY QUESTION
Saving data script won't rewrite data?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
satisfied
BindToClose doesn't pass a player
that's why it's saying the player is nil
ok. Do u know a way I could fix that
Is there like a BindToClose for players
for i,v in pairs(game.Players:GetPlayers()) do -- code here -- end