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

What fires first when BindToClose Happens Player Removing or BindToClose?

Asked by 5 years ago

So I was wondering what happens when BindToClose happens does Player Removing even fire if so which fires first because

when player Removing is called I destroy a table that has player data in it and I was wondering if PlayerRemoving fired first then How would I save BindToClose

So I thought of a solution and when BindToClose happened I changed a BoolValue in ServerStorage to true and if it was true Player Removing would not destroy table

But this would Only work if BindToClose was fired first and it changed the value in time before PlayerRemoving was fired

0
I would assume :BindToClose() would fire first because there's always a little delay when all players are being kicked. SmartNode 383 — 5y

Answer this question