‹ All natives
Namespace: PLAYER
API set: server
Language: Luau Improve
player:kick
player:kick(reason: string?)
Disconnects the player.
Parameters#
- reason (
string, optional): text shown to the player, 200 characters at most
Example#
player:kick("Class is over.")