Players.GetRandom
Declaration
Players.GetRandom()
Description
Returns the Player object for a random alive player, otherwise returns a Player object with ID set to -1.
--Prints out the name of a random player in the Scripts Console
local randomPlayer = Players.GetRandom();
Print(randomPlayer.Name);