From the server’s perspective, there isn’t “the player”, unless of course there’s only one player in the game.
Very generally, a player (client-side) will Fire a RemoteEvent
to the server indicating some particular
action by a particular player.
You can get the current players this way:
local plyrsTbl = game.Players:GetPlayers()
See:
6 Likes