Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Should I put game:BindToClose inside a player removing function or independantly?

Asked by 5 years ago

So Im trying to save a data using set async() but i am wondering if i should put bindtoclose inside a player removing function or independantly.

0
game.Players.PlayerRemoving:Connect() and SetAsync() are fine. ItsBankai 31 — 5y
0
out side but when server shuts down the binstoclose can link to player removing to save ur data else the last player is not saved befor the server shuts down User#27824 0 — 4y

1 answer

Log in to vote
0
Answered by
mc3334 649 Moderation Voter
5 years ago

Outside, there is no reason to have it in.

Ad

Answer this question