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

How would I check if a player was kicked?

Asked by 4 years ago

Does this exist? Sorry if this is vague, pretty straightforward. I want to check if the player was kicked vs disconnected. Reason why is I want to create a save value that kicks a player for possible exploiting, and I want to have that value go up by one if the player was kicked. (Datastore is added already)

0
You cannot detect if a Player was kicked, though you can make different systems the mimic a similar behavior, yet this is really just personal preference. Ziffixture 6913 — 4y
0
Wherever Player:Kick() is called, just use :IncrementAsync() with their Key. Ziffixture 6913 — 4y

Answer this question