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

6 comments

0

satisfied

0

BindToClose doesn't pass a player

0

that's why it's saying the player is nil

0

ok. Do u know a way I could fix that

0

Is there like a BindToClose for players

0

for i,v in pairs(game.Players:GetPlayers()) do -- code here -- end