players_utils
std
this module provides utilities for working with players.
Functions
from_hit
players_utils.from_hit() → Player?--
the player that was hit. this can also return nil if no player was hit.
get a player from a basepart.
get_player
This item only works when running on the client. Clientplayers_utils.get_player() → Player?--
the local player. this returns nil if the player is not found or if it's called on the server.
gets the local player.
get_character
players_utils.get_character() → Model?--
the character of the player. this can also return nil if no character was found.
gets the character of a player.
get_humanoid
players_utils.get_humanoid() → Humanoid?--
the humanoid of the player. this can also return nil if the player is nil or the humanoid was not found.
gets the character of a player.